Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.6-1.fc16.i686 reason: SELinux is preventing /usr/sbin/smbd from 'connectto' accesses on the unix_stream_socket /run/nmbd/unexpected. time: Sat 24 Dec 2011 05:15:30 PM PYST description: :SELinux is preventing /usr/sbin/smbd from 'connectto' accesses on the unix_stream_socket /run/nmbd/unexpected. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that smbd should be allowed connectto access on the unexpected unix_stream_socket 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:system_r:nmbd_t:s0 :Target Objects /run/nmbd/unexpected [ unix_stream_socket ] :Source smbd :Source Path /usr/sbin/smbd :Port <Unknown> :Host (removed) :Source RPM Packages samba-3.6.1-77.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-67.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.6-1.fc16.i686 #1 SMP Wed Dec : 21 23:18:01 UTC 2011 i686 i686 :Alert Count 4 :First Seen Sat 24 Dec 2011 05:14:44 PM PYST :Last Seen Sat 24 Dec 2011 05:14:48 PM PYST :Local ID 537820d1-4e32-495b-8221-2780c6823c71 : :Raw Audit Messages :type=AVC msg=audit(1324757688.881:238): avc: denied { connectto } for pid=17268 comm="smbd" path="/run/nmbd/unexpected" scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:nmbd_t:s0 tclass=unix_stream_socket : : :type=SYSCALL msg=audit(1324757688.881:238): arch=i386 syscall=socketcall success=no exit=EACCES a0=3 a1=bf865e50 a2=dedff4 a3=220ad468 items=0 ppid=17220 pid=17268 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=smbd exe=/usr/sbin/smbd subj=system_u:system_r:smbd_t:s0 key=(null) : :Hash: smbd,smbd_t,nmbd_t,unix_stream_socket,connectto : :audit2allow : :#============= smbd_t ============== :allow smbd_t nmbd_t:unix_stream_socket connectto; : :audit2allow -R : :#============= smbd_t ============== :allow smbd_t nmbd_t:unix_stream_socket connectto; :
Fixed in the latest policy.