Hide Forgot
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc8.git0.1.fc16.x86_64 reason: SELinux is preventing /usr/sbin/nmbd from 'create' accesses on the sock_file unexpected. time: Sat Oct 8 21:49:44 2011 description: :SELinux is preventing /usr/sbin/nmbd from 'create' accesses on the sock_file unexpected. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that nmbd should be allowed create access on the unexpected sock_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 nmbd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:nmbd_t:s0 :Target Context system_u:object_r:nmbd_var_run_t:s0 :Target Objects unexpected [ sock_file ] :Source nmbd :Source Path /usr/sbin/nmbd :Port <Unknown> :Host (removed) :Source RPM Packages samba-3.6.0-73.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-32.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) : 3.1.0-0.rc8.git0.1.fc16.x86_64 #1 SMP Tue Oct 4 : 03:16:40 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Sat 08 Oct 2011 09:42:56 PM CDT :Last Seen Sat 08 Oct 2011 09:42:56 PM CDT :Local ID 3290989e-22ab-4193-bc42-9f7239bc6b9d : :Raw Audit Messages :type=AVC msg=audit(1318128176.936:266): avc: denied { create } for pid=8416 comm="nmbd" name="unexpected" scontext=system_u:system_r:nmbd_t:s0 tcontext=system_u:object_r:nmbd_var_run_t:s0 tclass=sock_file : : :type=SYSCALL msg=audit(1318128176.936:266): arch=x86_64 syscall=bind success=no exit=EACCES a0=f a1=7fff901a26c0 a2=6e a3=7fff901a23b0 items=0 ppid=1 pid=8416 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=nmbd exe=/usr/sbin/nmbd subj=system_u:system_r:nmbd_t:s0 key=(null) : :Hash: nmbd,nmbd_t,nmbd_var_run_t,sock_file,create : :audit2allow : :#============= nmbd_t ============== :allow nmbd_t nmbd_var_run_t:sock_file create; : :audit2allow -R : :#============= nmbd_t ============== :allow nmbd_t nmbd_var_run_t:sock_file create; :
This is fixed in the latest policy. Please execute # yum update selinux-policy