| Summary: | SELinux is preventing /lib/systemd/systemd-logind from 'search' accesses on the directory dconf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James Cape <jamescape777> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, jiker, mgrepl, satellit, vocseti |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:fb6211b3f7e1595599a86301014991870800bb507723c24ab797fba9e71b889d | ||
| 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:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in selinux-policy-3.10.0-37.fc16 selinux-policy-3.10.0-38.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/FEDORA-2011-13775 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. |
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; :