| Summary: | SELinux is preventing /usr/bin/journalctl from 'open' accesses on the file /run/log/journal/b531f59d0209d0264a4406bec155a198/system.journal. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rex Dieter <rdieter> |
| 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: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:a9560893ee7c879b2a93c8290be9c8b76d69017f354d00694b88463e2a7b3af0 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-12 14:20:47 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 1035421 *** |
Description of problem: Configured systemd journal via /etc/systemd/journald.conf Storage=volatile and (recently?) started to get this selinux error SELinux is preventing /usr/bin/journalctl from 'open' accesses on the file /run/log/journal/b531f59d0209d0264a4406bec155a198/system.journal. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that journalctl should be allowed open access on the system.journal 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 journalctl /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023 Target Context system_u:object_r:syslogd_var_run_t:s0 Target Objects /run/log/journal/b531f59d0209d0264a4406bec155a198/ system.journal [ file ] Source journalctl Source Path /usr/bin/journalctl Port <Unknown> Host (removed) Source RPM Packages systemd-208-9.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-106.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-12-11 17:15:52 CST Last Seen 2013-12-11 17:27:23 CST Local ID 81b02fce-e88e-4a06-87c2-848497570d8c Raw Audit Messages type=AVC msg=audit(1386804443.185:957): avc: denied { open } for pid=19873 comm="journalctl" path="/run/log/journal/b531f59d0209d0264a4406bec155a198/system.journal" dev="tmpfs" ino=7076 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:syslogd_var_run_t:s0 tclass=file type=SYSCALL msg=audit(1386804443.185:957): arch=x86_64 syscall=open success=yes exit=EAGAIN a0=7f32d1130430 a1=80000 a2=0 a3=6c616e72756f6a2e items=0 ppid=19872 pid=19873 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=journalctl exe=/usr/bin/journalctl subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null) Hash: journalctl,abrt_t,syslogd_var_run_t,file,open Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.10-301.fc20.x86_64 type: libreport