Bug 915045
Summary: | SELinux is preventing /usr/lib/systemd/systemd-localed from 'sendto' accesses on the unix_dgram_socket /run/systemd/journal/socket. | ||
---|---|---|---|
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: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | 747500, bwbees0, code, cyrusyzgtt, dadreggors, dominick.grift, dwalsh, edosurina, ferrazrafael, gcarvalho.silva, gergely, islam93ahmed, jamielinux, jorti, lemovice, mcatanzaro+wrong-account-do-not-cc, mgrepl, nsergeyb |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | abrt_hash:240e7dd92f1a8eb0c79563ec4eea3bc893b222a81cc0f6840a7df64515c1b210 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-03 22:42:30 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: |
Description
sangu
2013-02-24 11:55:37 UTC
SELinux is preventing /usr/lib/systemd/systemd-localed from 'sendto' accesses on the unix_dgram_socket /run/systemd/journal/socket. ***** Plugin catchall (100. confidence) suggests *************************** If systemd-localed는 디폴트로 socket unix_dgram_socket에서 sendto 액세스를 허용해야 합니다. 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:system_r:kernel_t:s0 Target Objects /run/systemd/journal/socket [ unix_dgram_socket ] Source systemd-localed Source Path /usr/lib/systemd/systemd-localed Port <Unknown> Host (removed) Source RPM Packages systemd-197-2.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-81.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.8.0-2.fc19.x86_64 #1 SMP Wed Feb 20 00:35:44 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-02-24 20:48:58 KST Last Seen 2013-02-24 20:48:58 KST Local ID 25084a8f-8ae8-424d-8cdf-fbbbaeae7597 Raw Audit Messages type=AVC msg=audit(1361706538.176:1490): avc: denied { sendto } for pid=18502 comm="systemd-localed" path="/run/systemd/journal/socket" scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=unix_dgram_socket type=SYSCALL msg=audit(1361706538.176:1490): arch=x86_64 syscall=connect success=yes exit=0 a0=3 a1=7fff8591aa80 a2=1d a3=7fff8591aa38 items=0 ppid=1 pid=18502 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,kernel_t,unix_dgram_socket,sendto audit2allow #============= systemd_localed_t ============== allow systemd_localed_t kernel_t:unix_dgram_socket sendto; audit2allow -R #============= systemd_localed_t ============== allow systemd_localed_t kernel_t:unix_dgram_socket sendto; Added a fix. system settings, region & language Package: (null) OS Release: Fedora release 18 (Spherical Cow) running "localectl status" from command line Package: (null) OS Release: Fedora release 18 (Spherical Cow) Tried to run localectl, that is all. I'm running selinux-policy-3.11.1-81.fc18 Package: (null) OS Release: Fedora release 18 (Spherical Cow) selinux-policy-3.11.1-82.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-82.fc18 Executing: # localectl status Failed to issue method call: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Package: (null) OS Release: Fedora release 18 (Spherical Cow) [root@loki ~ ]# rpm -q selinux-policy selinux-policy-3.11.1-81.fc18.noarch [root@loki ~ ]# yum update selinux-policy --enablerepo=updates-testing Loaded plugins: langpacks, presto, refresh-packagekit No Packages marked for Update Where is it? How can I install to test? Never mind, I installed and confirmed that it works. Karma added ;-) I was switching the auio output with the system sound tool from the headset to the analog stereo option. Package: (null) OS Release: Fedora release 18 (Spherical Cow) Package selinux-policy-3.11.1-82.fc18: * should fix your issue, * was pushed to the Fedora 18 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.11.1-82.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3309/selinux-policy-3.11.1-82.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-82.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |