Bug 851877 - SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from read, write access on the file /.config/Trolltech.conf.
Summary: SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from read...
Keywords:
Status: CLOSED ERRATA
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:779e76a599b36b7752e2038b362...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-26 19:56 UTC by ZetaFunction
Modified: 2012-09-21 23:59 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-21 23:59:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-08-26 19:56 UTC, ZetaFunction
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-08-26 19:56 UTC, ZetaFunction
no flags Details

Description ZetaFunction 2012-08-26 19:56:32 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.5.2-1.fc17.x86_64

description:
:SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from read, write access on the file /.config/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:config_usr_t:s0
:Target Objects                /.config/Trolltech.conf [ file ]
:Source                        ksysguardproces
:Source Path                   /usr/libexec/kde4/ksysguardprocesslist_helper
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           ksysguard-4.8.5-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-146.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.2-1.fc17.x86_64 #1 SMP Wed Aug
:                              15 16:09:27 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-08-26 23:54:44 MSK
:Last Seen                     2012-08-26 23:54:44 MSK
:Local ID                      301aecf1-6d2d-41a1-92af-905d6fe2c43a
:
:Raw Audit Messages
:type=AVC msg=audit(1346010884.863:83): avc:  denied  { read write } for  pid=11562 comm="ksysguardproces" name="Trolltech.conf" dev="sda1" ino=1441794 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:config_usr_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1346010884.863:83): arch=x86_64 syscall=open success=no exit=EACCES a0=17c9c18 a1=80042 a2=1b6 a3=0 items=0 ppid=1 pid=11562 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,config_usr_t,file,read,write
:
:audit2allow
:
:#============= gnomesystemmm_t ==============
:allow gnomesystemmm_t config_usr_t:file { read write };
:
:audit2allow -R
:
:#============= gnomesystemmm_t ==============
:allow gnomesystemmm_t config_usr_t:file { read write };
:

Comment 1 ZetaFunction 2012-08-26 19:56:35 UTC
Created attachment 607077 [details]
File: type

Comment 2 ZetaFunction 2012-08-26 19:56:37 UTC
Created attachment 607078 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-08-27 11:38:26 UTC
You can allow it for now using

# grep ksysguardproces /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Comment 4 Fedora Update System 2012-09-17 12:13:43 UTC
selinux-policy-3.10.0-149.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-149.fc17

Comment 5 Fedora Update System 2012-09-19 02:55:18 UTC
Package selinux-policy-3.10.0-149.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-149.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14301/selinux-policy-3.10.0-149.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-09-21 23:59:24 UTC
selinux-policy-3.10.0-149.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.