Bug 1081963
| Summary: | SELinux is preventing /usr/lib/systemd/systemd-hostnamed from 'read' accesses on the chr_file . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fabio Valentini <decathorpe> |
| 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: | rawhide | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:05d1c8a1ca3aedb8d962af8f8f6182ef5ea571c6ebc21b3332ab998a3457884a | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-28 10:38:32 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 1081429 *** |
Description of problem: SELinux is preventing /usr/lib/systemd/systemd-hostnamed from 'read' accesses on the chr_file . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-hostnamed should be allowed read access on the chr_file 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-hostnam /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_hostnamed_t:s0 Target Context system_u:object_r:tmpfs_t:s0 Target Objects [ chr_file ] Source systemd-hostnam Source Path /usr/lib/systemd/systemd-hostnamed Port <Unknown> Host (removed) Source RPM Packages systemd-212-1.fc21.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-39.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.14.0-0.rc8.git0.1.fc21.x86_64 #1 SMP Tue Mar 25 14:01:40 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-03-28 11:28:18 CET Last Seen 2014-03-28 11:28:18 CET Local ID 2b2adfaa-1ed2-42ef-973c-2f29b12a0c6b Raw Audit Messages type=AVC msg=audit(1396002498.687:471): avc: denied { read } for pid=4251 comm="systemd-hostnam" name="urandom" dev="tmpfs" ino=87012 scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=chr_file type=AVC msg=audit(1396002498.687:471): avc: denied { open } for pid=4251 comm="systemd-hostnam" path="/dev/urandom" dev="tmpfs" ino=87012 scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=chr_file type=SYSCALL msg=audit(1396002498.687:471): arch=x86_64 syscall=open success=yes exit=E2BIG a0=7fc9be968f26 a1=80100 a2=0 a3=7fc9bdca27b8 items=0 ppid=1 pid=4251 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-hostnam exe=/usr/lib/systemd/systemd-hostnamed subj=system_u:system_r:systemd_hostnamed_t:s0 key=(null) Hash: systemd-hostnam,systemd_hostnamed_t,tmpfs_t,chr_file,read Additional info: reporter: libreport-2.2.0 hashmarkername: setroubleshoot kernel: 3.14.0-0.rc8.git0.1.fc21.x86_64 type: libreport