Bug 1082067
| Summary: | SELinux is preventing /usr/lib/systemd/systemd-localed from 'read' accesses on the chr_file . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Moez Roy <moez.roy> |
| 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:6cfb5052bb1bca88a6122ba2375b1c6a088527c7a7de280310018d73b8a1e005 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-28 19:04:02 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-localed from 'read' accesses on the chr_file . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-localed 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-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:tmpfs_t:s0 Target Objects [ chr_file ] Source systemd-localed Source Path /usr/lib/systemd/systemd-localed 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 08:21:56 PDT Last Seen 2014-03-28 08:21:56 PDT Local ID 8d6c08c7-b840-4b80-bfcc-e5a33cbb2154 Raw Audit Messages type=AVC msg=audit(1396020116.846:406): avc: denied { read } for pid=1424 comm="systemd-localed" name="urandom" dev="tmpfs" ino=23839 scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=chr_file type=AVC msg=audit(1396020116.846:406): avc: denied { open } for pid=1424 comm="systemd-localed" path="/dev/urandom" dev="tmpfs" ino=23839 scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=chr_file type=SYSCALL msg=audit(1396020116.846:406): arch=x86_64 syscall=open success=yes exit=E2BIG a0=7f060380fe6a a1=80100 a2=0 a3=7f0602d477b8 items=0 ppid=1 pid=1424 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 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,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