Description of problem: start service autofs SELinux is preventing /usr/sbin/automount from 'read' accesses on the file auto.misc. ***** Plugin catchall (100. confidence) suggests *************************** If si crede che automount dovrebbe avere possibilità di accesso read sui auto.misc file in modo predefinito. Then si dovrebbe riportare il problema come bug. E' possibile generare un modulo di politica locale per consentire questo accesso. Do consentire questo accesso per il momento eseguendo: # 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 unconfined_u:object_r:user_home_t:s0 Target Objects auto.misc [ file ] Source automount Source Path /usr/sbin/automount Port <Sconosciuto> Host (removed) Source RPM Packages autofs-5.0.7-23.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-63.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.9-302.fc19.x86_64 #1 SMP Sat Jul 6 13:41:07 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-07-22 00:38:02 CEST Last Seen 2013-07-22 00:38:02 CEST Local ID cb35107f-4aa0-4ff2-8210-6ac96d278b5f Raw Audit Messages type=AVC msg=audit(1374446282.870:582): avc: denied { read } for pid=31999 comm="automount" name="auto.misc" dev="dm-1" ino=2623615 scontext=system_u:system_r:automount_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file type=SYSCALL msg=audit(1374446282.870:582): arch=x86_64 syscall=access success=no exit=EACCES a0=7fd1b0000990 a1=4 a2=7fd1b0001060 a3=7fd1b63e4520 items=0 ppid=31992 pid=31999 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,user_home_t,file,read Additional info: reporter: libreport-2.1.5 hashmarkername: setroubleshoot kernel: 3.9.9-302.fc19.x86_64 type: libreport
Any chance you have mislabeled /etc/auto.misc? # ls -Z PATH_TO/auto.misc
(In reply to Miroslav Grepl from comment #1) > Any chance you have mislabeled /etc/auto.misc? > > # ls -Z PATH_TO/auto.misc ls -Z /etc/auto.misc -rw-r--r--. adriano adriano unconfined_u:object_r:bin_t:s0 /etc/auto.misc Yes, I've restored it from a backup. Changed owner to root:root and now it works. Thanks