Bug 882696 - SELinux is preventing /usr/bin/nmcli from using the 'sys_nice' capabilities.
Summary: SELinux is preventing /usr/bin/nmcli from using the 'sys_nice' capabilities.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ab0b2cc07ab15d58b71b8ac4e32...
: 882695 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-02 17:51 UTC by Grosswiler Roger
Modified: 2013-01-07 04:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-07 04:02:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-02 17:51 UTC, Grosswiler Roger
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-02 17:51 UTC, Grosswiler Roger
no flags Details

Description Grosswiler Roger 2012-12-02 17:51:44 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.7-4.fc17.x86_64

description:
:SELinux is preventing /usr/bin/nmcli from using the 'sys_nice' capabilities.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If sie denken, dass nmcli standardmäßig sys_nice Berechtigung haben sollten.
:Then sie sollten dies als Fehler melden.
:Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
:Do
:zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
:# grep nmcli /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:pppd_t:s0
:Target Context                system_u:system_r:pppd_t:s0
:Target Objects                 [ capability ]
:Source                        nmcli
:Source Path                   /usr/bin/nmcli
:Port                          <Unbekannt>
:Host                          (removed)
:Source RPM Packages           NetworkManager-0.9.6.4-3.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.7-4.fc17.x86_64 #1 SMP Tue Nov
:                              20 19:40:01 UTC 2012 x86_64 x86_64
:Alert Count                   12
:First Seen                    2012-11-21 20:53:22 CET
:Last Seen                     2012-12-02 15:58:57 CET
:Local ID                      2ca93e2a-afbf-466f-a45b-3faf5a5167d7
:
:Raw Audit Messages
:type=AVC msg=audit(1354460337.59:185): avc:  denied  { sys_nice } for  pid=3773 comm="nmcli" capability=23  scontext=system_u:system_r:pppd_t:s0 tcontext=system_u:system_r:pppd_t:s0 tclass=capability
:
:
:type=SYSCALL msg=audit(1354460337.59:185): arch=x86_64 syscall=sched_setscheduler success=yes exit=0 a0=ebd a1=0 a2=7fff4a5acc40 a3=7fff4a5ac9a0 items=0 ppid=3772 pid=3773 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=nmcli exe=/usr/bin/nmcli subj=system_u:system_r:pppd_t:s0 key=(null)
:
:Hash: nmcli,pppd_t,pppd_t,capability,sys_nice
:
:audit2allow
:
:#============= pppd_t ==============
:allow pppd_t self:capability sys_nice;
:
:audit2allow -R
:
:#============= pppd_t ==============
:allow pppd_t self:capability sys_nice;
:

Comment 1 Grosswiler Roger 2012-12-02 17:51:47 UTC
Created attachment 656155 [details]
File: type

Comment 2 Grosswiler Roger 2012-12-02 17:51:49 UTC
Created attachment 656156 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-03 11:18:32 UTC
*** Bug 882695 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2012-12-03 11:21:58 UTC
Added.

commit f1a326fa4be67560feccdbf6f179d7086da0d133
Author: Miroslav Grepl <mgrepl>
Date:   Mon Dec 3 12:20:36 2012 +0100

     pppd wants sys_nice by nmcli because of "syscall=sched_setscheduler"

Comment 5 Fedora Update System 2012-12-17 18:43:07 UTC
selinux-policy-3.10.0-165.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-165.fc17

Comment 6 Fedora Update System 2012-12-18 02:39:02 UTC
Package selinux-policy-3.10.0-165.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-165.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-165.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-01-05 06:43:46 UTC
Package selinux-policy-3.10.0-166.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-166.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-01-07 04:02:38 UTC
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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