Description of problem: SELinux is preventing /usr/bin/mandb from 'read' accesses on the file . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that mandb should be allowed read access on the file 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:admin_home_t:s0 Target Objects [ file ] Source mandb Source Path /usr/bin/mandb Port <Unknown> Host (removed) Source RPM Packages man-db-2.6.5-2.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-127.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.13.6-200.fc20.x86_64 #1 SMP Fri Mar 7 17:02:28 UTC 2014 x86_64 x86_64 Alert Count 9 First Seen 2014-03-08 03:34:06 PST Last Seen 2014-03-16 03:35:03 PDT Local ID c0750fdb-7913-4127-94a5-109ce967b041 Raw Audit Messages type=AVC msg=audit(1394966103.926:98580): avc: denied { read } for pid=13944 comm="mandb" name=".manpath" dev="sde3" ino=2105669 scontext=system_u:system_r:mandb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=file type=AVC msg=audit(1394966103.926:98580): avc: denied { open } for pid=13944 comm="mandb" path="/root/.manpath" dev="sde3" ino=2105669 scontext=system_u:system_r:mandb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=file type=SYSCALL msg=audit(1394966103.926:98580): arch=x86_64 syscall=open success=yes exit=ESRCH a0=1db61f0 a1=0 a2=1b6 a3=5 items=0 ppid=13939 pid=13944 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=340 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,admin_home_t,file,read Additional info: reporter: libreport-2.2.0 hashmarkername: setroubleshoot kernel: 3.13.6-200.fc20.x86_64 type: libreport
Hi, When exactly this has happened? Can you reproduce it?
Try to execute # chcon -R -t mandb_home_t /root/.manpath will fix it.
selinux-policy-3.12.1-149.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-149.fc20
Package selinux-policy-3.12.1-149.fc20: * should fix your issue, * was pushed to the Fedora 20 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-149.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4604/selinux-policy-3.12.1-149.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-149.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.