Bug 743337 - SELinux is preventing /lib/systemd/systemd-logind from 'getattr' accesses on the directory /run/user/gdm/dconf.
Summary: SELinux is preventing /lib/systemd/systemd-logind from 'getattr' accesses on ...
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:ba676ce373a18a0dbe194db848f...
: 743338 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-04 16:02 UTC by James Cape
Modified: 2011-10-09 19:34 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-3.10.0-38.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-09 19:34:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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