-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erratic denies by "deny_audit perm=any pattern=ld_so : all" #189
Comments
This is not an obvious place to look, but this describes how it is supposed to work: |
Okay, it seems the first deny in each case is always one with execute and ld_so, the others seem to follow.
For some reason these random denies are rare, but sometime I get a couple of them within a short time period.
|
Out of curiosity, which kernel are you using? |
I think it all comes down to these lines:
Whatever makes the difference, is apparently not logged by --debug. Btw.: I think it would also be a good idea to add a timestamp to the debug output.output is a timestamp. |
You can change the syslog_format in the conf file to log anything needed for troubleshooting. One thing important that's missing is the trust field. The default currently is: syslog_format = rule,dec,perm,auid,pid,exe,:,path,ftype,trust I have also run across 3rd party security kernel modules that cause problems. I don't know if that is relevant. |
We are seeing similar issues and we don't have a third party security kernel module installed. Any other ideas? |
I am running fapolicyd (fapolicyd-1.0.2-6.el8.x86_64) on Red Hat Enterprise Linux release 8.5 with the following rules:
Occasionally it blocks seemingly random accesses.
Heres a list of denies from fapolicyd --debug:
As far as i understand it, the lines with
perm=execute
andpath=/usr/lib64/ld-2.28.so
match the definition of rule 3. I can also reproduce it by usingldd
as non-root.All the other lines are not reproducible and I cannot see how they match rule 3.
Most seemed to be triggered by conky, but other application also encounter random denies and some of them cause real trouble.
The last line is also reproducible, but doesn't bother me too much.
The text was updated successfully, but these errors were encountered: