Bug 743336 - SELinux is preventing /lib/systemd/systemd-logind from 'search' accesses on the directory dconf.
Summary: SELinux is preventing /lib/systemd/systemd-logind from 'search' accesses on t...
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:fb6211b3f7e1595599a86301014...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-04 16:01 UTC by James Cape
Modified: 2011-10-09 19:34 UTC (History)
6 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:41 UTC
Type: ---


Attachments (Terms of Use)

Description James Cape 2011-10-04 16:01:55 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 'search' accesses on the directory dconf.
time:           Tue Oct  4 11:01:46 2011

description:
:SELinux is preventing /lib/systemd/systemd-logind from 'search' accesses on the directory dconf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that systemd-logind should be allowed search 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                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                      285f34d0-5faf-4d7f-be63-a36bc28982bc
:
:Raw Audit Messages
:type=AVC msg=audit(1317667616.851:946): avc:  denied  { search } for  pid=4005 comm="systemd-logind" name="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=AVC msg=audit(1317667616.851:946): avc:  denied  { write } for  pid=4005 comm="systemd-logind" name="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=AVC msg=audit(1317667616.851:946): avc:  denied  { remove_name } for  pid=4005 comm="systemd-logind" name="user" dev=tmpfs ino=20946 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:config_home_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1317667616.851:946): avc:  denied  { unlink } for  pid=4005 comm="systemd-logind" name="user" dev=tmpfs ino=20946 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:config_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1317667616.851:946): arch=x86_64 syscall=unlinkat success=yes exit=0 a0=d a1=7fff63e11ad3 a2=0 a3=7fff63e11790 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,search
:
:audit2allow
:
:#============= systemd_logind_t ==============
:#!!!! The source type 'systemd_logind_t' can write to a 'dir' of the following types:
:# systemd_logind_sessions_t, cgroup_t, var_auth_t, user_tmp_t, init_var_run_t, systemd_logind_var_run_t
:
:allow systemd_logind_t config_home_t:dir { write remove_name search };
:allow systemd_logind_t config_home_t:file unlink;
:
:audit2allow -R
:
:#============= systemd_logind_t ==============
:#!!!! The source type 'systemd_logind_t' can write to a 'dir' of the following types:
:# systemd_logind_sessions_t, cgroup_t, var_auth_t, user_tmp_t, init_var_run_t, systemd_logind_var_run_t
:
:allow systemd_logind_t config_home_t:dir { write remove_name search };
:allow systemd_logind_t config_home_t:file unlink;
:

Comment 1 Daniel Walsh 2011-10-04 19:59:47 UTC
Fixed in selinux-policy-3.10.0-37.fc16

Comment 2 Fedora Update System 2011-10-06 09:35:52 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 3 Fedora Update System 2011-10-09 19:34:41 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.