Bug 951316 - SELinux is preventing /usr/sbin/lightdm from 'create' accesses on the file .dmrc.P449UW.
Summary: SELinux is preventing /usr/sbin/lightdm from 'create' accesses on the file .d...
Keywords:
Status: CLOSED DUPLICATE of bug 922958
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:972cd815be4eb2c5436eef3b201...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-12 04:18 UTC by Neil
Modified: 2013-04-12 10:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-12 10:28:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Neil 2013-04-12 04:18:26 UTC
Description of problem:
SELinux is preventing /usr/sbin/lightdm from 'create' accesses on the file .dmrc.P449UW.

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

If you believe that lightdm should be allowed create access on the .dmrc.P449UW 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 lightdm /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:user_home_t:s0
Target Objects                .dmrc.P449UW [ file ]
Source                        lightdm
Source Path                   /usr/sbin/lightdm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           lightdm-1.5.3-1.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-28.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.9.0-0.rc6.git2.2.fc20.x86_64 #1
                              SMP Thu Apr 11 15:55:48 UTC 2013 x86_64 x86_64
Alert Count                   4
First Seen                    2013-04-11 20:28:49 PDT
Last Seen                     2013-04-11 21:09:40 PDT
Local ID                      341e60a2-bc4c-4267-9766-a561fe89660a

Raw Audit Messages
type=AVC msg=audit(1365739780.243:403): avc:  denied  { create } for  pid=454 comm="lightdm" name=".dmrc.P449UW" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:user_home_t:s0 tclass=file


type=SYSCALL msg=audit(1365739780.243:403): arch=x86_64 syscall=open success=no exit=EACCES a0=198bce0 a1=c2 a2=1b6 a3=1 items=0 ppid=1 pid=454 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=0 fsuid=1000 egid=1000 sgid=0 fsgid=1000 ses=4294967295 tty=(none) comm=lightdm exe=/usr/sbin/lightdm subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: lightdm,xdm_t,user_home_t,file,create

audit2allow

#============= xdm_t ==============
allow xdm_t user_home_t:file create;

audit2allow -R
require {
	type xdm_t;
}

#============= xdm_t ==============
mta_mailserver_delivery(xdm_t)


Additional info:
hashmarkername: setroubleshoot
kernel:         3.9.0-0.rc6.git2.2.fc20.x86_64
type:           libreport

Potential duplicate: bug 922958

Comment 1 Miroslav Grepl 2013-04-12 10:28:53 UTC

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


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