Bug 1054358 - SELinux is preventing /usr/sbin/abrt-server from using the 'net_admin' capabilities.
Summary: SELinux is preventing /usr/sbin/abrt-server from using the 'net_admin' capabi...
Keywords:
Status: CLOSED DUPLICATE of bug 1054337
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e271cdeff54900d4968de3bc7c7...
: 1055751 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-16 16:59 UTC by Alexander Kurtakov
Modified: 2014-01-20 21:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-16 20:16:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexander Kurtakov 2014-01-16 16:59:38 UTC
Description of problem:
SELinux is preventing /usr/sbin/abrt-server from using the 'net_admin' capabilities.

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

If you believe that abrt-server 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 abrt-server /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                        abrt-server
Source Path                   /usr/sbin/abrt-server
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-2.1.11-1.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-117.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.12.7-300.fc20.x86_64 #1 SMP Fri
                              Jan 10 15:35:31 UTC 2014 x86_64 x86_64
Alert Count                   3
First Seen                    2014-01-16 18:16:06 EET
Last Seen                     2014-01-16 18:58:17 EET
Local ID                      62470a97-6f48-4f4e-bafb-2491358e356b

Raw Audit Messages
type=AVC msg=audit(1389891497.692:525): avc:  denied  { net_admin } for  pid=8518 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(1389891497.692:525): arch=x86_64 syscall=setsockopt success=yes exit=0 a0=4 a1=1 a2=20 a3=7fffd0ced7c0 items=0 ppid=810 pid=8518 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: abrt-server,abrt_t,abrt_t,capability,net_admin

Additional info:
reporter:       libreport-2.1.11
hashmarkername: setroubleshoot
kernel:         3.12.7-300.fc20.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-01-16 20:16:45 UTC

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

Comment 2 Miroslav Grepl 2014-01-20 21:45:56 UTC
*** Bug 1055751 has been marked as a duplicate of this bug. ***


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