Bug 694384 - SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'read' accesses on the file stat.
Summary: SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'rea...
Keywords:
Status: CLOSED ERRATA
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:0f287df6614...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-07 07:43 UTC by Maxim Prohorenko
Modified: 2011-07-08 14:21 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.9.16-15.fc15
Clone Of:
Environment:
Last Closed: 2011-04-15 21:33:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Maxim Prohorenko 2011-04-07 07:43:14 UTC
SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'read' accesses on the file stat.

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

If you believe that ksysguardprocesslist_helper should be allowed read access on the stat 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:proc_t:s0
Target Objects                stat [ file ]
Source                        ksysguardproces
Source Path                   /usr/libexec/kde4/ksysguardprocesslist_helper
Port                          <Неизвестно>
Host                          (removed)
Source RPM Packages           kdebase-workspace-4.6.1-6.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-10.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-9.fc15.x86_64
                              #1 SMP Wed Mar 30 16:55:57 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Срд 06 Апр 2011 11:35:33
Last Seen                     Срд 06 Апр 2011 11:35:33
Local ID                      70bf3074-7439-4687-9275-fcd426c30bf0

Raw Audit Messages
type=AVC msg=audit(1302075333.12:452): avc:  denied  { read } for  pid=18890 comm="ksysguardproces" name="stat" dev=proc ino=4026532009 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_t:s0 tclass=file


type=AVC msg=audit(1302075333.12:452): avc:  denied  { open } for  pid=18890 comm="ksysguardproces" name="stat" dev=proc ino=4026532009 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_t:s0 tclass=file


type=SYSCALL msg=audit(1302075333.12:452): arch=x86_64 syscall=open success=yes exit=EACCES a0=3b1135a8f2 a1=80000 a2=1ffffa72a483 a3=0 items=0 ppid=1 pid=18890 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,proc_t,file,read

audit2allow

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t proc_t:file { read open };

audit2allow -R

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t proc_t:file { read open };

Comment 1 Miroslav Grepl 2011-04-07 09:27:04 UTC
Fixed in selinux-policy-3.9.16-13.fc15

Comment 2 Fedora Update System 2011-04-11 20:38:19 UTC
selinux-policy-3.9.16-14.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-14.fc15

Comment 3 Fedora Update System 2011-04-13 04:53:44 UTC
Package selinux-policy-3.9.16-14.fc15:
* should fix your issue,
* was pushed to the Fedora 15 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.9.16-14.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-14.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-04-13 19:48:20 UTC
selinux-policy-3.9.16-15.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-15.fc15

Comment 5 Fedora Update System 2011-04-15 21:31:46 UTC
selinux-policy-3.9.16-15.fc15 has been pushed to the Fedora 15 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.