Additional info: libreport version: 2.0.14 kernel: 3.5.4-2.fc17.i686 description: :SELinux is preventing /usr/sbin/smbd from 'read' accesses on the directory /home/mawared/Music. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that smbd should be allowed read access on the Music 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 unconfined_u:object_r:audio_home_t:s0 :Target Objects /home/mawared/Music [ dir ] :Source smbd :Source Path /usr/sbin/smbd :Port <Unknown> :Host (removed) :Source RPM Packages samba-3.6.6-92.fc17.1.i686 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-149.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.5.4-2.fc17.i686 #1 SMP Wed Sep : 26 22:32:49 UTC 2012 i686 i686 :Alert Count 5 :First Seen 2012-10-02 13:30:56 EEST :Last Seen 2012-10-02 13:30:58 EEST :Local ID 1f1808a6-a0f0-4898-b1db-c86405cc4744 : :Raw Audit Messages :type=AVC msg=audit(1349173858.12:310): avc: denied { read } for pid=15814 comm="smbd" name="Music" dev="dm-2" ino=14024722 scontext=system_u:system_r:smbd_t:s0 tcontext=unconfined_u:object_r:audio_home_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1349173858.12:310): arch=i386 syscall=open success=no exit=EACCES a0=b88d19c0 a1=8000 a2=0 a3=b88d16a8 items=0 ppid=15278 pid=15814 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,audio_home_t,dir,read : :audit2allow : :#============= smbd_t ============== :#!!!! This avc can be allowed using one of the these booleans: :# samba_export_all_ro, samba_enable_home_dirs, samba_export_all_rw : :allow smbd_t audio_home_t:dir read; : :audit2allow -R : :#============= smbd_t ============== :#!!!! This avc can be allowed using one of the these booleans: :# samba_export_all_ro, samba_enable_home_dirs, samba_export_all_rw : :allow smbd_t audio_home_t:dir read; :
Created attachment 620227 [details] File: type
Created attachment 620228 [details] File: hashmarkername
You will need to turn on one of these booleans to share your Music directory. :#!!!! This avc can be allowed using one of the these booleans: :# samba_export_all_ro, samba_enable_home_dirs, samba_export_all_rw setsebool -P samba_enable_home_dirs 1