Bug 722925 - SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'getattr' accesses on the file /.config/Trolltech.conf.
Summary: SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'get...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 15
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:46adec3a3a7...
: 722929 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-18 13:55 UTC by antonio montagnani
Modified: 2012-08-07 19:01 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 19:01:40 UTC
Type: ---


Attachments (Terms of Use)

Description antonio montagnani 2011-07-18 13:55:12 UTC
SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'getattr' accesses on the file /.config/Trolltech.conf.

*****  Plugin restorecon (99.5 confidence) suggests  *************************

If you want to fix the label. 
/.config/Trolltech.conf default label should be default_t.
Then you can run restorecon.
Do
# /sbin/restorecon -v /.config/Trolltech.conf

*****  Plugin catchall (1.49 confidence) suggests  ***************************

If you believe that ksysguardprocesslist_helper should be allowed getattr access on the Trolltech.conf file 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 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:object_r:etc_runtime_t:s0
Target Objects                /.config/Trolltech.conf [ file ]
Source                        ksysguardproces
Source Path                   /usr/libexec/kde4/ksysguardprocesslist_helper
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           kdebase-workspace-4.6.3-5.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-30.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.8-32.fc15.i686.PAE #1 SMP Mon
                              Jun 13 19:55:27 UTC 2011 i686 i686
Alert Count                   4
First Seen                    ven 24 giu 2011 22:52:50 CEST
Last Seen                     ven 24 giu 2011 22:52:50 CEST
Local ID                      0bf2ca5d-f094-4551-8832-6c6c452638ae

Raw Audit Messages
type=AVC msg=audit(1308948770.973:266): avc:  denied  { getattr } for  pid=8711 comm="ksysguardproces" path="/.config/Trolltech.conf" dev=dm-0 ino=3014659 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file


type=SYSCALL msg=audit(1308948770.973:266): arch=i386 syscall=stat64 success=no exit=EACCES a0=9fa85d8 a1=bfd2f900 a2=7e7ff4 a3=9faa6b0 items=0 ppid=8710 pid=8711 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,etc_runtime_t,file,getattr

audit2allow

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t etc_runtime_t:file getattr;

audit2allow -R

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t etc_runtime_t:file getattr;

Comment 1 Daniel Walsh 2011-07-18 21:19:09 UTC
KDE should not be using /.config

Comment 2 Daniel Walsh 2011-07-18 21:21:32 UTC
*** Bug 722929 has been marked as a duplicate of this bug. ***

Comment 3 Fedora End Of Life 2012-08-07 19:01:43 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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