libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc9.git0.0.fc16.x86_64 reason: SELinux is preventing /usr/sbin/swat from 'search' accesses on the directory nmbd. time: Thu Oct 13 15:46:37 2011 description: :SELinux is preventing /usr/sbin/swat from 'search' accesses on the directory nmbd. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that swat should be allowed search access on the nmbd 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 swat /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:swat_t:s0-s0:c0.c1023 :Target Context system_u:object_r:nmbd_var_run_t:s0 :Target Objects nmbd [ dir ] :Source swat :Source Path /usr/sbin/swat :Port <Unknown> :Host (removed) :Source RPM Packages samba-swat-3.6.0-73.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-38.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) : 3.1.0-0.rc9.git0.0.fc16.x86_64 #1 SMP Wed Oct 5 : 15:30:54 UTC 2011 x86_64 x86_64 :Alert Count 4 :First Seen Wed 12 Oct 2011 11:09:09 PM CDT :Last Seen Wed 12 Oct 2011 11:09:29 PM CDT :Local ID 5f7db2c7-4c1c-4886-b72e-718f05ccfff5 : :Raw Audit Messages :type=AVC msg=audit(1318478969.61:53916): avc: denied { search } for pid=25163 comm="swat" name="nmbd" dev=tmpfs ino=20234 scontext=system_u:system_r:swat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:nmbd_var_run_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1318478969.61:53916): arch=x86_64 syscall=connect success=no exit=EACCES a0=e a1=7f67d0a0cce8 a2=6e a3=0 items=0 ppid=24893 pid=25163 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=swat exe=/usr/sbin/swat subj=system_u:system_r:swat_t:s0-s0:c0.c1023 key=(null) : :Hash: swat,swat_t,nmbd_var_run_t,dir,search : :audit2allow : :#============= swat_t ============== :allow swat_t nmbd_var_run_t:dir search; : :audit2allow -R : :#============= swat_t ============== :allow swat_t nmbd_var_run_t:dir search; :
Fixed in selinux-policy-3.10.0-40.fc16
selinux-policy-3.10.0-40.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-40.fc16
Package selinux-policy-3.10.0-40.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-40.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14363 then log in and leave karma (feedback).
selinux-policy-3.10.0-40.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.