Bug 903342 - SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from using the 'sys_admin' capabilities.
Summary: SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from usin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:58e9f4da6ca636c167a9cf7fd3f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-23 19:05 UTC by luke
Modified: 2013-02-12 05:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-12 05:08:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2013-01-23 19:05 UTC, luke
no flags Details
File: hashmarkername (14 bytes, text/plain)
2013-01-23 19:05 UTC, luke
no flags Details

Description luke 2013-01-23 19:05:24 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.11-5.fc17.i686

description:
:SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from using the 'sys_admin' capabilities.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If cree que ksysguardprocesslist_helper debería tener la capacidad de sys_admin de forma predeterminada.
:Then debería reportar esto como un error.
:Puede generar un módulo de política local para permitir este acceso.
:Do
:permita el acceso momentáneamente executando:
:# grep ksysguardproces /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023
:Target Context                system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023
:Target Objects                 [ capability ]
:Source                        ksysguardproces
:Source Path                   /usr/libexec/kde4/ksysguardprocesslist_helper
:Port                          <Desconocido>
:Host                          (removed)
:Source RPM Packages           ksysguard-4.9.5-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-166.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.11-5.fc17.i686 #1 SMP Tue Jan
:                              8 21:55:16 UTC 2013 i686 i686
:Alert Count                   1
:First Seen                    2013-01-23 15:02:16 AST
:Last Seen                     2013-01-23 15:02:16 AST
:Local ID                      05235396-11f4-4f0c-bd33-0eff7d057f49
:
:Raw Audit Messages
:type=AVC msg=audit(1358967736.576:74): avc:  denied  { sys_admin } for  pid=2203 comm="ksysguardproces" capability=21  scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tclass=capability
:
:
:type=SYSCALL msg=audit(1358967736.576:74): arch=i386 syscall=ioprio_set success=no exit=EPERM a0=1 a1=85f a2=2004 a3=0 items=0 ppid=1 pid=2203 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ksysguardproces exe=/usr/libexec/kde4/ksysguardprocesslist_helper subj=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 key=(null)
:
:Hash: ksysguardproces,gnomesystemmm_t,gnomesystemmm_t,capability,sys_admin
:
:audit2allow
:
:#============= gnomesystemmm_t ==============
:allow gnomesystemmm_t self:capability sys_admin;
:
:audit2allow -R
:
:#============= gnomesystemmm_t ==============
:allow gnomesystemmm_t self:capability sys_admin;
:

Comment 1 luke 2013-01-23 19:05:28 UTC
Created attachment 686165 [details]
File: type

Comment 2 luke 2013-01-23 19:05:30 UTC
Created attachment 686166 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2013-01-24 09:41:32 UTC
Fixed in selinux-policy-3.10.0-167.fc17

Comment 4 Fedora Update System 2013-02-04 22:04:31 UTC
selinux-policy-3.10.0-167.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-167.fc17

Comment 5 Fedora Update System 2013-02-05 17:00:48 UTC
Package selinux-policy-3.10.0-167.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-167.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1971/selinux-policy-3.10.0-167.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-02-12 05:08:55 UTC
selinux-policy-3.10.0-167.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.