Bug 702801

Summary: SELinux is preventing /bin/dbus-daemon from using the 'sigkill' accesses on a process.
Product: [Fedora] Fedora Reporter: Eddie Lania <eddie>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:eda105edf8f7173d37f4402e6e5b709e4af1a6bfdd38150007055a61bae6e95c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-07 20:39:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eddie Lania 2011-05-07 09:20:31 UTC
SELinux is preventing /bin/dbus-daemon from using the 'sigkill' accesses on a process.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that dbus-daemon should be allowed sigkill access on processes labeled abrt_helper_t 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 dbus-daemon /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023
Target Context                unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023
Target Objects                Unknown [ process ]
Source                        dbus-daemon
Source Path                   /bin/dbus-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           dbus-1.4.0-2.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-40.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.12-90.fc14.i686.PAE #1 SMP Fri Apr 22
                              16:08:03 UTC 2011 i686 i686
Alert Count                   2
First Seen                    Sat 07 May 2011 11:10:06 AM CEST
Last Seen                     Sat 07 May 2011 11:10:13 AM CEST
Local ID                      e0a796fe-cec1-41c9-be0d-7ebb67d4f0ac

Raw Audit Messages
type=AVC msg=audit(1304759413.503:547): avc:  denied  { sigkill } for  pid=3869 comm="dbus-daemon" scontext=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 tclass=process


type=SYSCALL msg=audit(1304759413.503:547): arch=i386 syscall=kill success=yes exit=0 a0=fa5 a1=9 a2=3edff4 a3=ac0718 items=0 ppid=1 pid=3869 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=27 comm=dbus-daemon exe=/bin/dbus-daemon subj=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 key=(null)

Hash: dbus-daemon,abrt_helper_t,abrt_helper_t,process,sigkill

audit2allow

#============= abrt_helper_t ==============
allow abrt_helper_t self:process sigkill;

audit2allow -R

#============= abrt_helper_t ==============
allow abrt_helper_t self:process sigkill;

Comment 1 Eddie Lania 2011-05-07 20:39:47 UTC

*** This bug has been marked as a duplicate of bug 702865 ***