Bug 689272 - SELinux is preventing /usr/libexec/kde4/kdm_greet from 'read' accesses on the file /usr/share/config/kdebug.areas.
Summary: SELinux is preventing /usr/libexec/kde4/kdm_greet from 'read' accesses on the...
Keywords:
Status: CLOSED DUPLICATE of bug 689269
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:923479d796a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-20 18:40 UTC by Magnus Tuominen
Modified: 2011-03-20 18:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-03-20 18:47:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Magnus Tuominen 2011-03-20 18:40:21 UTC
SELinux is preventing /usr/libexec/kde4/kdm_greet from 'read' accesses on the file /usr/share/config/kdebug.areas.

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

If you believe that kdm_greet should be allowed read access on the kdebug.areas 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 kdm_greet /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:config_usr_t:s0
Target Objects                /usr/share/config/kdebug.areas [ file ]
Source                        kdm_greet
Source Path                   /usr/libexec/kde4/kdm_greet
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdm-4.6.1-2.fc14
Target RPM Packages           kdelibs-common-4.6.1-4.fc14
Policy RPM                    selinux-policy-3.9.7-35.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.11-83.fc14.x86_64 #1 SMP Mon
                              Feb 7 07:06:44 UTC 2011 x86_64 x86_64
Alert Count                   3
First Seen                    Sun 20 Mar 2011 12:26:49 PM EET
Last Seen                     Sun 20 Mar 2011 08:17:17 PM EET
Local ID                      2c848ef1-1183-47ce-999f-f47a6f0215e0

Raw Audit Messages
type=AVC msg=audit(1300645037.696:13): avc:  denied  { read } for  pid=2080 comm="kdm_greet" name="kdebug.areas" dev=dm-0 ino=138506 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:config_usr_t:s0 tclass=file


type=SYSCALL msg=audit(1300645037.696:13): arch=x86_64 syscall=access success=yes exit=0 a0=1312368 a1=4 a2=1312386 a3=1 items=0 ppid=2077 pid=2080 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=kdm_greet exe=/usr/libexec/kde4/kdm_greet subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: kdm_greet,xdm_t,config_usr_t,file,read

audit2allow

#============= xdm_t ==============
allow xdm_t config_usr_t:file read;

audit2allow -R

#============= xdm_t ==============
allow xdm_t config_usr_t:file read;

Comment 1 Kevin Kofler 2011-03-20 18:47:59 UTC
This is kdebug.areas again.

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


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