Bug 928336
| Summary: | SELinux is preventing /usr/lib/systemd/systemd-localed from 'write' accesses on the directory xorg.conf.d. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kamil Páral (Red Hat) <kparal> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:bc07f6343f8ddeafec325eb19753aaa9e4d3a33968694a22bb07da80384dad80 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-27 13:59:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 928331 *** |
Description of problem: I finished installing system from the LiveCD and this popped up. SELinux is preventing /usr/lib/systemd/systemd-localed from 'write' accesses on the directory xorg.conf.d. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-localed should be allowed write access on the xorg.conf.d 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-localed /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_localed_t:s0 Target Context system_u:object_r:xserver_etc_t:s0 Target Objects xorg.conf.d [ dir ] Source systemd-localed Source Path /usr/lib/systemd/systemd-localed Port <Unknown> Host (removed) Source RPM Packages systemd-198-7.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-23.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.9.0-0.rc4.git0.1.fc19.x86_64 #1 SMP Mon Mar 25 02:31:02 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-03-27 08:55:48 EDT Last Seen 2013-03-27 08:55:48 EDT Local ID 51e4465a-4fb9-408e-a01e-00e4ff8bfead Raw Audit Messages type=AVC msg=audit(1364388948.383:469): avc: denied { write } for pid=18757 comm="systemd-localed" name="xorg.conf.d" dev="dm-0" ino=152209 scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:xserver_etc_t:s0 tclass=dir type=AVC msg=audit(1364388948.383:469): avc: denied { add_name } for pid=18757 comm="systemd-localed" name=".00-keyboard.confj1CWKN" scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:xserver_etc_t:s0 tclass=dir type=AVC msg=audit(1364388948.383:469): avc: denied { create } for pid=18757 comm="systemd-localed" name=".00-keyboard.confj1CWKN" scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:xserver_etc_t:s0 tclass=file type=AVC msg=audit(1364388948.383:469): avc: denied { write } for pid=18757 comm="systemd-localed" path="/etc/X11/xorg.conf.d/.00-keyboard.confj1CWKN" dev="dm-0" ino=181968 scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:xserver_etc_t:s0 tclass=file type=SYSCALL msg=audit(1364388948.383:469): arch=x86_64 syscall=open success=yes exit=EIO a0=7f79abdeb2e0 a1=800c2 a2=180 a3=0 items=0 ppid=1 pid=18757 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=systemd-localed exe=/usr/lib/systemd/systemd-localed subj=system_u:system_r:systemd_localed_t:s0 key=(null) Hash: systemd-localed,systemd_localed_t,xserver_etc_t,dir,write audit2allow #============= systemd_localed_t ============== allow systemd_localed_t xserver_etc_t:dir { write add_name }; allow systemd_localed_t xserver_etc_t:file { write create }; audit2allow -R Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-0.rc4.git0.1.fc19.x86_64 type: libreport