Bug 1055751 - 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 1054358
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e271cdeff54900d4968de3bc7c7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-20 20:55 UTC by Igor Gnatenko
Modified: 2014-01-20 21:45 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-20 21:45:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2014-01-20 20:55:43 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.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.git4.1.fc21.x86_64 #1
                              SMP Sat Jan 18 14:44:21 UTC 2014 x86_64 x86_64
Alert Count                   7
First Seen                    2014-01-17 17:46:31 MSK
Last Seen                     2014-01-21 00:54:04 MSK
Local ID                      f9c8a7f3-993f-4e6c-bcce-3308c0fe2733

Raw Audit Messages
type=AVC msg=audit(1390251244.623:450): avc:  denied  { net_admin } for  pid=3371 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(1390251244.623:450): arch=x86_64 syscall=setsockopt success=no exit=EPERM a0=4 a1=1 a2=20 a3=7fffc9fe8e20 items=0 ppid=706 pid=3371 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.13.0-0.rc8.git4.1.fc21.x86_64
type:           libreport

Potential duplicate: bug 1054358

Comment 1 Igor Gnatenko 2014-01-20 20:56:50 UTC
I've tried to connect in empathy to my google account

Comment 2 Miroslav Grepl 2014-01-20 21:45:56 UTC

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


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