Red Hat Bugzilla – Bug 1499760
gvfs-udisks2-volume-monitor generates huge amount of audit log with access denied messages
Last modified: 2018-04-10 13:28:02 EDT
Description of problem: gvfs-udisks2-volume-monitor generates huge amount of audit log with access denied messages Version-Release number of selected component (if applicable): util-linux-2.23.2-43.el7.x86_64 How reproducible: everytime Steps to Reproduce: 1. run strace -p <gvfs-udisks2-volume-monitor> ; access some automount's path via /net/ip/share OR 1. sudo strace mount some path 2. 3. Actual results: mount happens but also audit triggers huge about of audit logs on failed CheckFileAccess of accessing of /run/mount/utab Expected results: no audit logs produced due to cech of access file permissions Additional info:
Yes, open() is probably overkill to test write access to the utab file. It seems eaccess() would be better.
Radka - you have to have SElinux enabled and then boot desktop and try to search and mount some samba share for example. you should get tons of those messages. Re testing. Yes - customer successfully tested both 7.5 and 7.4.z fix and has got approved interim hotfix for 7.4.z
*** Bug 1510976 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0936