Hide Forgot
Description of problem: SELinux is preventing /usr/bin/mandb from 'search' accesses on the directory /. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that mandb should be allowed search access on the directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep mandb /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mandb_t:s0-s0:c0.c1023 Target Context system_u:object_r:nfs_t:s0 Target Objects / [ dir ] Source mandb Source Path /usr/bin/mandb Port <Unknown> Host (removed) Source RPM Packages man-db-2.6.3-7.fc19.x86_64 Target RPM Packages filesystem-3.2-13.fc19.x86_64 Policy RPM selinux-policy-3.12.1-74.10.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.6-200.fc19.x86_64 #1 SMP Fri Oct 18 22:34:18 UTC 2013 x86_64 x86_64 Alert Count 3 First Seen 2013-10-31 03:13:03 EDT Last Seen 2013-10-31 03:13:03 EDT Local ID b58f5f70-b8c6-4cbe-8f9f-89c486945bf9 Raw Audit Messages type=AVC msg=audit(1383203583.46:1204): avc: denied { search } for pid=32094 comm="mandb" name="/" dev="0:46" ino=32938 scontext=system_u:system_r:mandb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:nfs_t:s0 tclass=dir type=SYSCALL msg=audit(1383203583.46:1204): arch=x86_64 syscall=stat success=no exit=EACCES a0=2064a20 a1=7fff583f5290 a2=7fff583f5290 a3=ffffffff items=0 ppid=32089 pid=32094 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=56 tty=(none) comm=mandb exe=/usr/bin/mandb subj=system_u:system_r:mandb_t:s0-s0:c0.c1023 key=(null) Hash: mandb,mandb_t,nfs_t,dir,search Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.9-200.fc19.x86_64 type: libreport
Do you have man files stored on an NFS share?
No.
c462ff11cd53064de3da0186f18e3ae5a15ecd5e adds a dontaudit for this in git.
back ported to f20.
What about F19 though, where I saw the problem.
Lukas will back port it to F19 and do an update.
back ported.
selinux-policy-3.12.1-74.15.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.15.fc19
Package selinux-policy-3.12.1-74.15.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-74.15.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23231/selinux-policy-3.12.1-74.15.fc19 then log in and leave karma (feedback).
selinux-policy-3.12.1-74.15.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.