Bug 744835 - SELinux is preventing /usr/bin/kde4-config from 'read' accesses on the directory /usr/share/config.
Summary: SELinux is preventing /usr/bin/kde4-config from 'read' accesses on the direct...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:071c705469fb6e7a518b8c66523...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-10 15:41 UTC by Owen Grein
Modified: 2011-10-19 04:32 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.10.0-40.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-19 04:32:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Owen Grein 2011-10-10 15:41:54 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc9.git0.0.fc16.x86_64
reason:         SELinux is preventing /usr/bin/kde4-config from 'read' accesses on the directory /usr/share/config.
time:           Mon Oct 10 16:41:19 2011

description:
:SELinux is preventing /usr/bin/kde4-config from 'read' accesses on the directory /usr/share/config.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that kde4-config should be allowed read access on the config directory 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 kde4-config /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
:                              3
:Target Context                system_u:object_r:config_usr_t:s0
:Target Objects                /usr/share/config [ dir ]
:Source                        kde4-config
:Source Path                   /usr/bin/kde4-config
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           kdelibs-4.7.2-1.fc16
:Target RPM Packages           kde-filesystem-4-38.fc15
:Policy RPM                    selinux-policy-3.10.0-32.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.1.0-0.rc9.git0.0.fc16.x86_64 #1 SMP Wed Oct 5
:                              15:30:54 UTC 2011 x86_64 x86_64
:Alert Count                   8
:First Seen                    Mon 10 Oct 2011 12:26:59 PM BST
:Last Seen                     Mon 10 Oct 2011 04:17:44 PM BST
:Local ID                      35481b43-b1ad-44a4-951b-80ec6e8fa09c
:
:Raw Audit Messages
:type=AVC msg=audit(1318259864.966:102): avc:  denied  { read } for  pid=8429 comm="kde4-config" name="config" dev=dm-1 ino=393477 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:config_usr_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1318259864.966:102): arch=x86_64 syscall=access success=no exit=EACCES a0=1cd73d8 a1=4 a2=1cd7301 a3=0 items=0 ppid=8401 pid=8429 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=kde4-config exe=/usr/bin/kde4-config subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: kde4-config,nsplugin_t,config_usr_t,dir,read
:
:audit2allow
:
:#============= nsplugin_t ==============
:allow nsplugin_t config_usr_t:dir read;
:
:audit2allow -R
:
:#============= nsplugin_t ==============
:allow nsplugin_t config_usr_t:dir read;
:

Comment 1 Miroslav Grepl 2011-10-10 21:13:23 UTC
Fixed in selinux-policy-3.10.0-39.fc16

Comment 2 Owen Grein 2011-10-11 16:00:33 UTC
(In reply to comment #1)
> Fixed in selinux-policy-3.10.0-39.fc16

Confirmed, Thanks.

Comment 3 Fedora Update System 2011-10-14 16:18:47 UTC
selinux-policy-3.10.0-40.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-40.fc16

Comment 4 Fedora Update System 2011-10-15 14:32:26 UTC
Package selinux-policy-3.10.0-40.fc16:
* should fix your issue,
* was pushed to the Fedora 16 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-40.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14363
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-10-19 04:32:01 UTC
selinux-policy-3.10.0-40.fc16 has been pushed to the Fedora 16 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.