Bug 924003 - SELinux is preventing /usr/sbin/lightdm from 'create' accesses on the file .dmrc.YQBCUW.
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: 19
Hardware: i686
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-03-20 22:14 UTC by Nicolas Chauvet (kwizart)
Modified: 2013-03-21 08:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-21 08:37:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Chauvet (kwizart) 2013-03-20 22:14:56 UTC
Description of problem:
SELinux is preventing /usr/sbin/lightdm from 'create' accesses on the file .dmrc.YQBCUW.

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

If vous pensez que lightdm devrait être autorisé à accéder create sur .dmrc.YQBCUW file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
autoriser cet accès pour le moment en exécutant :
# 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.YQBCUW [ file ]
Source                        lightdm
Source Path                   /usr/sbin/lightdm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           lightdm-1.5.1-1.fc19.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-22.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.9.0-0.rc0.git3.1.fc19.i686.PAE
                              #1 SMP Thu Feb 21 23:51:23 UTC 2013 i686 i686
Alert Count                   9
First Seen                    2013-03-10 10:45:54 CET
Last Seen                     2013-03-20 23:07:10 CET
Local ID                      f73f29b2-5db0-4760-97e8-a8561233947c

Raw Audit Messages
type=AVC msg=audit(1363817230.403:349): avc:  denied  { create } for  pid=564 comm="lightdm" name=".dmrc.YQBCUW" 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(1363817230.403:349): arch=i386 syscall=open success=no exit=EACCES a0=8849d58 a1=80c2 a2=1b6 a3=0 items=0 ppid=1 pid=564 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 ==============
userdom_manage_user_home_content_files(xdm_t)


Additional info:
hashmarkername: setroubleshoot
kernel:         3.9.0-0.rc0.git3.1.fc19.i686.PAE
type:           libreport

Potential duplicate: bug 922958

Comment 1 Miroslav Grepl 2013-03-21 08:37:11 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.