Description of problem: trying to automount via auto.misc SELinux is preventing /usr/sbin/automount from 'read' accesses on the file /etc/auto.misc. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /etc/auto.misc default label should be bin_t. Then you can run restorecon. Do # /sbin/restorecon -v /etc/auto.misc ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that automount should be allowed read access on the auto.misc 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 automount /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:automount_t:s0 Target Context system_u:object_r:dosfs_t:s0 Target Objects /etc/auto.misc [ file ] Source automount Source Path /usr/sbin/automount Port <Unknown> Host (removed) Source RPM Packages autofs-5.0.7-28.fc19.x86_64 Target RPM Packages autofs-5.0.7-28.fc19.x86_64 Policy RPM selinux-policy-3.12.1-69.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.10.7-200.fc19.x86_64 #1 SMP Thu Aug 15 23:19:45 UTC 2013 x86_64 x86_64 Alert Count 12 First Seen 2013-08-18 16:33:32 EST Last Seen 2013-08-22 18:49:51 EST Local ID f59c448e-7545-4f5d-aee6-12bc3be3ff28 Raw Audit Messages type=AVC msg=audit(1377161391.139:444): avc: denied { read } for pid=1873 comm="automount" name="auto.misc" dev="dm-1" ino=1836993 scontext=system_u:system_r:automount_t:s0 tcontext=system_u:object_r:dosfs_t:s0 tclass=file type=SYSCALL msg=audit(1377161391.139:444): arch=x86_64 syscall=access success=no exit=EACCES a0=7fed18000990 a1=4 a2=7fed18001060 a3=7fed1cbe1520 items=0 ppid=1866 pid=1873 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=automount exe=/usr/sbin/automount subj=system_u:system_r:automount_t:s0 key=(null) Hash: automount,automount_t,dosfs_t,file,read Additional info: reporter: libreport-2.1.6 hashmarkername: setroubleshoot kernel: 3.10.7-200.fc19.x86_64 type: libreport
If you want to fix the label. /etc/auto.misc default label should be bin_t. Then you can run restorecon. Do # /sbin/restorecon -v /etc/auto.misc