Bug 722929 - SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from read, write access on the file Trolltech.conf.
Summary: SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from read...
Keywords:
Status: CLOSED DUPLICATE of bug 722925
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ae6e1c801d8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-18 14:01 UTC by antonio montagnani
Modified: 2011-07-18 21:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-18 21:21:32 UTC
Type: ---


Attachments (Terms of Use)

Description antonio montagnani 2011-07-18 14:01:59 UTC
SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from read, write access on the file Trolltech.conf.

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

If you believe that ksysguardprocesslist_helper should be allowed read write 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                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                   1
First Seen                    ven 24 giu 2011 22:52:50 CEST
Last Seen                     ven 24 giu 2011 22:52:50 CEST
Local ID                      b09f3b59-52ac-4f9c-8ea0-ff9115771427

Raw Audit Messages
type=AVC msg=audit(1308948770.973:264): avc:  denied  { read write } for  pid=8711 comm="ksysguardproces" name="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:264): arch=i386 syscall=open success=no exit=EACCES a0=9fa8b50 a1=88042 a2=1b6 a3=0 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,read,write

audit2allow

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t etc_runtime_t:file { read write };

audit2allow -R

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t etc_runtime_t:file { read write };

Comment 1 Daniel Walsh 2011-07-18 21:21:32 UTC

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


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