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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content