Bug 783681 - SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'read' accesses on the archivo /.config/Trolltech.conf.
Summary: SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'rea...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:efa9a72f642...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-21 17:42 UTC by ver.cabrera
Modified: 2012-01-23 09:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-23 09:45:56 UTC
Type: ---


Attachments (Terms of Use)

Description ver.cabrera 2012-01-21 17:42:58 UTC
SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'read' accesses on the archivo /.config/Trolltech.conf.

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

If you believe that ksysguardprocesslist_helper should be allowed read 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:default_t:s0
Target Objects                /.config/Trolltech.conf [ file ]
Source                        ksysguardproces
Source Path                   /usr/libexec/kde4/ksysguardprocesslist_helper
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           kdebase-workspace-4.6.5-8.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-50.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.41.9-1.fc15.x86_64 #1 SMP Fri
                              Jan 13 16:46:51 UTC 2012 x86_64 x86_64
Alert Count                   15
First Seen                    vie 05 ago 2011 11:37:39 CLT
Last Seen                     sáb 21 ene 2012 14:39:55 CLST
Local ID                      82225c92-5daf-46cc-81bd-0553485f5d1d

Raw Audit Messages
type=AVC msg=audit(1327167595.163:79): avc:  denied  { read } for  pid=6766 comm="ksysguardproces" name="Trolltech.conf" dev=sda5 ino=915714 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=file


type=SYSCALL msg=audit(1327167595.163:79): arch=x86_64 syscall=open success=no exit=EACCES a0=1ca9fb8 a1=80000 a2=1b6 a3=8 items=0 ppid=1 pid=6766 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,default_t,file,read

audit2allow

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t default_t:file read;

audit2allow -R

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t default_t:file read;

Comment 1 Miroslav Grepl 2012-01-23 09:45:56 UTC
This is a bug in KDE.

You can allow it for now using

# semanage fcontext -a -e /usr/share/config /.config
# restorecon -R -v /.config


Then it will work.


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