Description of problem: SELinux is preventing /usr/bin/mandb from 'open' accesses on the file /usr/man/man1/nosetests.1. ***** Plugin restorecon (99.5 confidence) suggests ************************ If vous souhaitez corriger l'étiquette. L'étiquette par défaut de /usr/man/man1/nosetests.1 devrait être man_t. Then vous pouvez exécuter restorecon. Do # /sbin/restorecon -v /usr/man/man1/nosetests.1 ***** Plugin catchall (1.49 confidence) suggests ************************** If vous pensez que mandb devrait être autorisé à accéder open sur nosetests.1 file par défaut. Then vous devriez rapporter ceci en tant qu'anomalie. Vous pouvez générer un module de stratégie local pour autoriser cet accès. Do autoriser cet accès pour le moment en exécutant : # 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 unconfined_u:object_r:user_tmp_t:s0 Target Objects /usr/man/man1/nosetests.1 [ file ] Source mandb Source Path /usr/bin/mandb Port <Unknown> Host (removed) Source RPM Packages man-db-2.6.7.1-15.fc21.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-105.19.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.8-200.fc21.x86_64 #1 SMP Fri Jul 10 21:09:54 UTC 2015 x86_64 x86_64 Alert Count 1 First Seen 2015-08-03 10:46:42 CEST Last Seen 2015-08-03 10:46:42 CEST Local ID 38249400-ed10-4271-9a3b-d9dadb3efcd3 Raw Audit Messages type=AVC msg=audit(1438591602.687:643): avc: denied { open } for pid=6425 comm="mandb" path="/usr/man/man1/nosetests.1" dev="sda6" ino=1543153 scontext=system_u:system_r:mandb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0 type=SYSCALL msg=audit(1438591602.687:643): arch=x86_64 syscall=open success=no exit=EACCES a0=af2a70 a1=0 a2=0 a3=8 items=0 ppid=6420 pid=6425 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm=mandb exe=/usr/bin/mandb subj=system_u:system_r:mandb_t:s0-s0:c0.c1023 key=(null) Hash: mandb,mandb_t,user_tmp_t,file,open Version-Release number of selected component: selinux-policy-3.13.1-105.19.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 4.0.8-200.fc21.x86_64 type: libreport Potential duplicate: bug 1143061
restorecon -R -v /usr/man