7238ad32a3
Vit Mojzis reports that an error message is produced when modifying a non-local fcontext. He gives the following example: # semanage fcontext -f f -m -t passwd_file_t /etc/security/opasswd libsemanage.dbase_llist_query: could not query record value (No such file or directory). When modifying an fcontext, the non-local database is checked for the key and then, if it is not found there, the local database is checked. If the key doesn't exist, then an error is raised. If the key exists then the local database is queried first and, if that fails, the non- local database is queried. The error is from querying the local database when the fcontext is in the non-local database. Instead, if the fcontext is in the non-local database, just query the non-local database. Only query the local database if the fcontext was found in it. Reported-by: Vit Mojzis <vmojzis@redhat.com> Signed-off-by: James Carter <jwcart2@gmail.com> |
||
---|---|---|
.. | ||
audit2allow | ||
chcat | ||
po | ||
semanage | ||
sepolgen | ||
sepolicy | ||
LICENSE | ||
Makefile | ||
VERSION |