Bug 1054444 - SELinux is preventing /usr/sbin/abrtd from using the 'net_admin' capabilities.
Summary: SELinux is preventing /usr/sbin/abrtd from using the 'net_admin' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1054337
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: abrt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f2a89e4c688e22d5a0541d5c7eb...
Depends On:
Blocks: 1054468
TreeView+ depends on / blocked
 
Reported: 2014-01-16 20:47 UTC by Adam Williamson
Modified: 2014-01-26 12:31 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-26 12:31:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2014-01-16 20:47:34 UTC
Description of problem:
Showed up on boot of current Rawhide.
SELinux is preventing /usr/sbin/abrtd from using the 'net_admin' capabilities.

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

If you believe that abrtd should have the net_admin 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                 [ capability ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-2.1.11-1.fc21.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-13.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.0-0.rc8.git2.2.fc21.x86_64 #1
                              SMP Wed Jan 15 16:18:47 UTC 2014 x86_64 x86_64
Alert Count                   2
First Seen                    2014-01-16 12:46:31 PST
Last Seen                     2014-01-16 12:47:03 PST
Local ID                      5f2b14b8-3131-449e-8b43-c1a172d86456

Raw Audit Messages
type=AVC msg=audit(1389905223.924:607): avc:  denied  { net_admin } for  pid=3028 comm="abrt-server" capability=12  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(1389905223.924:607): arch=x86_64 syscall=setsockopt success=no exit=EPERM a0=4 a1=1 a2=20 a3=7fff46aa4810 items=0 ppid=845 pid=3028 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=abrt-server exe=/usr/sbin/abrt-server subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)

Hash: abrtd,abrt_t,abrt_t,capability,net_admin

Additional info:
reporter:       libreport-2.1.11
hashmarkername: setroubleshoot
kernel:         3.13.0-0.rc8.git2.2.fc21.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-01-16 21:41:28 UTC
I think there is a problem with a kernel,  we are suddenly seeing random net_admin avcs showing up.

Comment 2 Daniel Walsh 2014-01-16 21:54:12 UTC
We are seeing abrt need net_admin access????

Comment 3 Jakub Filak 2014-01-26 12:31:48 UTC
It appears that this is not a bug in abrt (bug #1054337 comment #4).

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


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