Quote:
|
Originally Posted by lothario
Ok, I did all that.
But I still get this message in /var/log/messages
Under the same circumstances.
|
If you look closely, you'll see that the first message was for a "
{ getattr }" operation, and the second was for a "
{ read }" operation. You will need to iteratively repeat the process until there are no further avc denied messages.
What's happening is that SELinux is preventing the software from performing an operation, so the software doesn't proceed. When you allow the first operation, the software proceeds further, until it encounters another prohibited operation.
You can find all the operations needed to complete the process by issuing the command:
setenforce Permissive
In this mode, SELinux still logs all the avc denied messages, but doesn't prevent the operations from completing. However, the protections afforded by SELinux in this mode are disabled.
Once you have all the avc denied messages handled by local.te policy, you can:
setenforce Enforcing
to return the system to normal operation. SELinux will prevent any operations prohibited by its policy in this mode.