Modifying fcontexts fails with "libsemanage.dbase_llist_query" and "OSError: No such file or directory" after an update to Red Hat Enterprise Linux 7.3

Solution Verified - Updated -

Issue

  • The following error occurs whenever semanage fcontext -m -t is used to modify an existing fcontext.
    # semanage fcontext -m -t usr_t "/srv/.*"
    libsemanage.dbase_llist_query: could not query record value (No such file or directory).
    OSError: No such file or directory

Environment

  • Red Hat Enterprise Linux 7.3
    • libsemanage-2.5-4.el7
    • policycoreutils-python-2.5-9.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.