Additional info: libreport version: 2.0.13 kernel: 3.5.3-1.fc17.x86_64 description: :SELinux is preventing /usr/sbin/smbd from 'rmdir' accesses on the directory test. : :***** Plugin samba_share (98.5 confidence) suggests ************************ : :If you want to allow smbd to have rmdir access on the test directory :Then you need to change the label on 'test' :Do :# semanage fcontext -a -t samba_share_t 'test' :# restorecon -v 'test' : :***** Plugin catchall (2.42 confidence) suggests *************************** : :If you believe that smbd should be allowed rmdir access on the test 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 smbd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:smbd_t:s0 :Target Context system_u:object_r:fusefs_t:s0 :Target Objects test [ dir ] :Source smbd :Source Path /usr/sbin/smbd :Port <Unknown> :Host (removed) :Source RPM Packages samba-3.6.6-92.fc17.1.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-146.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug : 29 18:46:34 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen 2012-09-14 19:27:07 EST :Last Seen 2012-09-14 19:27:07 EST :Local ID f8e33e81-18d2-4c9b-a9eb-a58d0168ed4b : :Raw Audit Messages :type=AVC msg=audit(1347614827.158:540): avc: denied { rmdir } for pid=3395 comm="smbd" name="test" dev="sdf1" ino=80 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1347614827.158:540): arch=x86_64 syscall=rmdir success=yes exit=0 a0=7f7c625d7fe0 a1=7f7c625d7fe0 a2=129049f0 a3=7fffacf8fc00 items=0 ppid=3361 pid=3395 auid=4294967295 uid=0 gid=0 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=smbd exe=/usr/sbin/smbd subj=system_u:system_r:smbd_t:s0 key=(null) : :Hash: smbd,smbd_t,fusefs_t,dir,rmdir : :audit2allow : :#============= smbd_t ============== :#!!!! This avc can be allowed using the boolean 'samba_share_fusefs' : :allow smbd_t fusefs_t:dir rmdir; : :audit2allow -R : :#============= smbd_t ============== :#!!!! This avc can be allowed using the boolean 'samba_share_fusefs' : :allow smbd_t fusefs_t:dir rmdir; :
Created attachment 612871 [details] File: type
Created attachment 612872 [details] File: hashmarkername
:#============= smbd_t ============== :#!!!! This avc can be allowed using the boolean 'samba_share_fusefs' So execute in your terminal # setsebool -P samba_share_fusefs 1