| Summary: | SELinux is preventing /lib/systemd/systemd-tmpfiles from 'connectto' accesses on the unix_stream_socket /var/run/nscd/socket. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Horst H. von Brand <vonbrand> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | dwalsh, mgrepl, vonbrand |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:f52665dd318d6d7f36ca0509c7e138f7e5f1c9c3f7c2cf89c6537aa7fcc23af2 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-17 15:52:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 670166 *** |
SELinux is preventing /lib/systemd/systemd-tmpfiles from 'connectto' accesses on the unix_stream_socket /var/run/nscd/socket. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed connectto access on the socket unix_stream_socket 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-tmpfile /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_tmpfiles_t:s0 Target Context system_u:system_r:nscd_t:s0 Target Objects /var/run/nscd/socket [ unix_stream_socket ] Source systemd-tmpfile Source Path /lib/systemd/systemd-tmpfiles Port <Unknown> Host (removed) Source RPM Packages systemd-15-1.fc15 Target RPM Packages nscd-2.12.90-21.fc15 Policy RPM selinux-policy-3.9.12-3.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.37-0.rc7.git0.2.fc15.x86_64 #1 SMP Wed Dec 22 17:12:22 UTC 2010 x86_64 x86_64 Alert Count 1 First Seen Sat 01 Jan 2011 04:20:45 PM CLST Last Seen Sat 01 Jan 2011 04:20:45 PM CLST Local ID 1d5e91d3-931e-40c1-8969-efd06f545cd3 Raw Audit Messages type=AVC msg=audit(1293909645.327:2488): avc: denied { connectto } for pid=21584 comm="systemd-tmpfile" path="/var/run/nscd/socket" scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:system_r:nscd_t:s0 tclass=unix_stream_socket type=SYSCALL msg=audit(1293909645.327:2488): arch=x86_64 syscall=connect success=yes exit=0 a0=5 a1=7fff774562e0 a2=6e a3=400 items=0 ppid=1 pid=21584 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-tmpfile exe=/lib/systemd/systemd-tmpfiles subj=system_u:system_r:systemd_tmpfiles_t:s0 key=(null) Hash: systemd-tmpfile,systemd_tmpfiles_t,nscd_t,unix_stream_socket,connectto audit2allow #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t nscd_t:unix_stream_socket connectto; audit2allow -R #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t nscd_t:unix_stream_socket connectto;