Bug 722215 - SELinux is preventing /usr/libexec/abrt-hook-ccpp from using the 'setuid' capabilities.
Summary: SELinux is preventing /usr/libexec/abrt-hook-ccpp from using the 'setuid' cap...
Keywords:
Status: CLOSED DUPLICATE of bug 721111
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:3225e36ba54...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-14 16:21 UTC by James
Modified: 2011-07-19 01:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-14 16:39:47 UTC
Type: ---


Attachments (Terms of Use)

Description James 2011-07-14 16:21:10 UTC
SELinux is preventing /usr/libexec/abrt-hook-ccpp from using the 'setuid' capabilities.

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

If you believe that abrt-hook-ccpp should have the setuid capability 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 abrt-hook-ccpp /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:abrt_helper_t:s0
Target Context                system_u:system_r:abrt_helper_t:s0
Target Objects                Unknown [ capability ]
Source                        abrt-hook-ccpp
Source Path                   /usr/libexec/abrt-hook-ccpp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-addon-ccpp-2.0.3-1.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-32.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.8-34.(removed).fc15.x86_64 #1
                              SMP Mon Jun 27 21:42:17 BST 2011 x86_64 x86_64
Alert Count                   2
First Seen                    Wed 13 Jul 2011 06:46:08 BST
Last Seen                     Thu 14 Jul 2011 17:19:15 BST
Local ID                      fc9c6ef5-0926-4064-938e-01b473b3b094

Raw Audit Messages
type=AVC msg=audit(1310660355.140:535): avc:  denied  { setuid } for  pid=936 comm="abrt-hook-ccpp" capability=7  scontext=system_u:system_r:abrt_helper_t:s0 tcontext=system_u:system_r:abrt_helper_t:s0 tclass=capability


type=SYSCALL msg=audit(1310660355.140:535): arch=x86_64 syscall=setresuid success=no exit=EPERM a0=ffffffffffffffff a1=1f4 a2=ffffffffffffffff a3=0 items=0 ppid=19815 pid=936 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=500 sgid=0 fsgid=500 tty=(none) ses=4294967295 comm=abrt-hook-ccpp exe=/usr/libexec/abrt-hook-ccpp subj=system_u:system_r:abrt_helper_t:s0 key=(null)

Hash: abrt-hook-ccpp,abrt_helper_t,abrt_helper_t,capability,setuid

audit2allow

#============= abrt_helper_t ==============
allow abrt_helper_t self:capability setuid;

audit2allow -R

#============= abrt_helper_t ==============
allow abrt_helper_t self:capability setuid;

Comment 1 Miroslav Grepl 2011-07-14 16:39:47 UTC

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


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