Bug 692282 - SELinux is preventing /usr/sbin/abrtd from using the 'fowner' capabilities.
Summary: SELinux is preventing /usr/sbin/abrtd from using the 'fowner' capabilities.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:6523a953a76...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-30 22:27 UTC by Steve Tyler
Modified: 2011-05-17 15:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-17 15:57:28 UTC
Type: ---


Attachments (Terms of Use)

Description Steve Tyler 2011-03-30 22:27:51 UTC
SELinux is preventing /usr/sbin/abrtd from using the 'fowner' capabilities.

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

If you believe that abrtd should have the fowner 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 abrtd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Objects                Unknown [ capability ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-2.0.0-2.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-6.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-8.fc15.x86_64 #1 SMP Mon Mar 28
                              02:14:51 UTC 2011 x86_64 x86_64
Alert Count                   4
First Seen                    Wed 30 Mar 2011 03:25:13 PM PDT
Last Seen                     Wed 30 Mar 2011 03:25:13 PM PDT
Local ID                      68f70011-4f18-424d-9381-0d87580d91f1

Raw Audit Messages
type=AVC msg=audit(1301523913.931:97): avc:  denied  { fowner } for  pid=1046 comm="abrtd" capability=3  scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tclass=capability


type=SYSCALL msg=audit(1301523913.931:97): arch=x86_64 syscall=chmod success=no exit=EPERM a0=1d5fbb0 a1=1b4 a2=8000 a3=2d30332d33302d31 items=0 ppid=1 pid=1046 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=abrtd exe=/usr/sbin/abrtd subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)

Hash: abrtd,abrt_t,abrt_t,capability,fowner

audit2allow

#============= abrt_t ==============
allow abrt_t self:capability fowner;

audit2allow -R

#============= abrt_t ==============
allow abrt_t self:capability fowner;

Comment 1 Miroslav Grepl 2011-03-31 11:33:03 UTC
I thought we added this.

Fixed in selinux-policy-3.9.16-7.fc15


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