Henry Zhang a écrit :
Hi,
I want to do custom SELinux with policies.
The first challenge I am facing is to check if the label is correct or not
instead of using audit2allow first.
How do I know if labeling is correct in a denied message from
/var/log/audit.log?
restorecon -v /path/to/file
If it returns nothing, it means label was correct in the first
place. If label is not correct, restorecon will fix it.
--
GnuPG: AE157E0B29F0BEF2 at
keys.openpgp.org
CA Cert:
https://dl.casperlefantom.net/pub/ssl/root.der
Jabber/XMPP Messaging: casper(a)casperlefantom.net