Bug 743337

Summary: SELinux is preventing /lib/systemd/systemd-logind from 'getattr' accesses on the directory /run/user/gdm/dconf.
Product: [Fedora] Fedora Reporter: James Cape <jamescape777>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, james, jiker, maycon.franca, mgrepl, satellit, vocseti
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ba676ce373a18a0dbe194db848ff4ab6483dc703acab597fc896006c6dac04f4
Fixed In Version: selinux-policy-3.10.0-38.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-09 19:34:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Cape 2011-10-04 16:02:14 UTC
libreport version: 2.0.5.982
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc6.git0.3.fc16.x86_64
reason:         SELinux is preventing /lib/systemd/systemd-logind from 'getattr' accesses on the directory /run/user/gdm/dconf.
time:           Tue Oct  4 11:02:05 2011

description:
:SELinux is preventing /lib/systemd/systemd-logind from 'getattr' accesses on the directory /run/user/gdm/dconf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that systemd-logind should be allowed getattr access on the dconf 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 systemd-logind /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:systemd_logind_t:s0
:Target Context                system_u:object_r:config_home_t:s0
:Target Objects                /run/user/gdm/dconf [ dir ]
:Source                        systemd-logind
:Source Path                   /lib/systemd/systemd-logind
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           systemd-36-3.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-32.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux orwell.ignore-your.tv
:                              3.1.0-0.rc6.git0.3.fc16.x86_64 #1 SMP Fri Sep 16
:                              12:26:22 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Mon 03 Oct 2011 01:46:56 PM CDT
:Last Seen                     Mon 03 Oct 2011 01:46:56 PM CDT
:Local ID                      f83e7c43-817a-4aee-87dd-9321ebdcc034
:
:Raw Audit Messages
:type=AVC msg=audit(1317667616.851:945): avc:  denied  { getattr } for  pid=4005 comm="systemd-logind" path="/run/user/gdm/dconf" dev=tmpfs ino=20945 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:config_home_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1317667616.851:945): arch=x86_64 syscall=fstat success=yes exit=0 a0=d a1=7fff63e11960 a2=7fff63e11960 a3=0 items=0 ppid=1 pid=4005 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-logind exe=/lib/systemd/systemd-logind subj=system_u:system_r:systemd_logind_t:s0 key=(null)
:
:Hash: systemd-logind,systemd_logind_t,config_home_t,dir,getattr
:
:audit2allow
:
:#============= systemd_logind_t ==============
:allow systemd_logind_t config_home_t:dir getattr;
:
:audit2allow -R
:
:#============= systemd_logind_t ==============
:allow systemd_logind_t config_home_t:dir getattr;
:

Comment 1 Daniel Walsh 2011-10-04 20:01:50 UTC
Fixed in selinux-policy-3.10.0-36.fc16

Comment 2 Daniel Walsh 2011-10-04 20:02:19 UTC
*** Bug 743338 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2011-10-06 09:35:59 UTC
selinux-policy-3.10.0-38.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/FEDORA-2011-13775

Comment 4 Fedora Update System 2011-10-09 19:34:47 UTC
selinux-policy-3.10.0-38.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.