Bug 615855 - SELinux is preventing /usr/sbin/smbd "kill" access .
Summary: SELinux is preventing /usr/sbin/smbd "kill" access .
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:45ec81e05f7...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-19 06:15 UTC by Vassili Leonov
Modified: 2010-07-23 02:27 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2010-07-23 02:27:04 UTC

Attachments (Terms of Use)

Description Vassili Leonov 2010-07-19 06:15:59 UTC

SELinux is preventing /usr/sbin/smbd "kill" access .

Detailed Description:

SELinux denied access requested by smbd. It is not expected that this access is
required by smbd and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                unconfined_u:system_r:smbd_t:s0
Target Context                unconfined_u:system_r:smbd_t:s0
Target Objects                None [ capability ]
Source                        smbd
Source Path                   /usr/sbin/smbd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           samba-3.4.7-58.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-118.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Fri May 28
                              04:47:04 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Fri 09 Jul 2010 09:01:51 AM MSD
Last Seen                     Fri 09 Jul 2010 09:01:51 AM MSD
Local ID                      23668c0d-c4ae-460b-ae7c-8c6bf751a08f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1278651711.360:33010): avc:  denied  { kill } for  pid=23724 comm="smbd" capability=5  scontext=unconfined_u:system_r:smbd_t:s0 tcontext=unconfined_u:system_r:smbd_t:s0 tclass=capability

node=(removed) type=SYSCALL msg=audit(1278651711.360:33010): arch=40000003 syscall=37 success=no exit=-1 a0=55c5 a1=a a2=b4fff4 a3=1cecbf8 items=0 ppid=1 pid=23724 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=16 comm="smbd" exe="/usr/sbin/smbd" subj=unconfined_u:system_r:smbd_t:s0 key=(null)

Hash String generated from  catchall,smbd,smbd_t,smbd_t,capability,kill
audit2allow suggests:

#============= smbd_t ==============
allow smbd_t self:capability kill;

Comment 1 Miroslav Grepl 2010-07-19 16:59:13 UTC
Fixed in selinux-policy-3.7.19-38.fc13

Comment 2 Fedora Update System 2010-07-21 15:33:47 UTC
selinux-policy-3.7.19-39.fc13 has been submitted as an update for Fedora 13.

Comment 3 Fedora Update System 2010-07-23 02:26:36 UTC
selinux-policy-3.7.19-39.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.