Bug 923531
| Summary: | SELinux is preventing /usr/lib/systemd/systemd-localed from 'search' accesses on the directory /etc/X11/xorg.conf.d. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | sangu <sangu.fedora> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | noarch | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-19 05:53:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in selinux-policy-3.12.1-23.fc19.noarch selinux-policy-3.12.1-28.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2013-5045/selinux-policy-3.12.1-28.fc19 Package selinux-policy-3.12.1-28.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-28.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-5045/selinux-policy-3.12.1-28.fc19 then log in and leave karma (feedback). selinux-policy-3.12.1-28.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing /usr/lib/systemd/systemd-localed from 'search' accesses on the directory /etc/X11/xorg.conf.d. ***** Plugin catchall (100. confidence) suggests *************************** If systemd-localed는 디폴트로 xorg.conf.d directory에서 search 액세스를 허용해야 합니다. Then 이 버그를 보고해야 합니다. 이러한 액세스를 허용하기 위해 로컬 정채 모듈을 생성할 수 있습니다. Do 지금 이 액세스를 허용하려면 다음을 실행합니다: # 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 /etc/X11/xorg.conf.d [ dir ] Source systemd-localed Source Path /usr/lib/systemd/systemd-localed Port <Unknown> Host (removed) Source RPM Packages systemd-198-6.fc19.x86_64 Target RPM Packages xorg-x11-server-Xorg-1.14.0-1.fc19.x86_64 Policy RPM selinux-policy-3.12.1-22.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.0-0.rc2.git0.2.fc19.x86_64 #1 SMP Mon Mar 11 19:28:15 UTC 2013 x86_64 x86_64 Alert Count 3 First Seen 2013-03-20 12:29:47 KST Last Seen 2013-03-20 12:49:39 KST Local ID beee8fa6-f1bb-4982-9cd0-690af56bbd65 Raw Audit Messages type=AVC msg=audit(1363751379.30:62): avc: denied { search } for pid=13973 comm="systemd-localed" name="xorg.conf.d" dev="sda3" ino=2097298 scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:xserver_etc_t:s0 tclass=dir type=SYSCALL msg=audit(1363751379.30:62): arch=x86_64 syscall=open success=no exit=EACCES a0=7fa638d8b6c8 a1=80000 a2=1b6 a3=3 items=0 ppid=1 pid=13973 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,search audit2allow #============= systemd_localed_t ============== allow systemd_localed_t xserver_etc_t:dir search; audit2allow -R require { type systemd_localed_t; } #============= systemd_localed_t ============== xserver_read_config(systemd_localed_t) Version-Release number of selected component (if applicable): 3.12.1-22.fc19 How reproducible: always Steps to Reproduce: 1. $ localectl 2. 3. Actual results: Expected results: Additional info: