| Summary: | SELinux is preventing /bin/systemd-tmpfiles from 'read' accesses on the None /etc/selinux/targeted/contexts/files/file_contexts.subs_dist. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Horst H. von Brand <vonbrand> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:06cd07f6e3aade073d09c32bb1ca1894a196955a94d3329288d09aea1e147fbc | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-27 11:47:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Could you execute $ restorecon -R -v /etc/selinux/targeted/context which should fix your issue. I need to look why these files are mislabeled. |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.7-1.fc16.x86_64 reason: SELinux is preventing /bin/systemd-tmpfiles from 'read' accesses on the None /etc/selinux/targeted/contexts/files/file_contexts.subs_dist. time: Sun 26 Feb 2012 01:04:47 PM CLST description: :SELinux is preventing /bin/systemd-tmpfiles from 'read' accesses on the None /etc/selinux/targeted/contexts/files/file_contexts.subs_dist. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that systemd-tmpfiles should be allowed read access on the file_contexts.subs_dist <Unknown> 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 unconfined_u:object_r:default_context_t:s0 :Target Objects /etc/selinux/targeted/contexts/files/file_contexts : .subs_dist [ None ] :Source systemd-tmpfile :Source Path /bin/systemd-tmpfiles :Port <Unknown> :Host (removed) :Source RPM Packages systemd-units-37-13.fc16.x86_64 :Target RPM Packages selinux-policy-targeted-3.10.0-75.fc16.noarch :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.7-1.fc16.x86_64 #1 : SMP Tue Feb 21 01:40:47 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen Sun 26 Feb 2012 12:09:25 PM CLST :Last Seen Sun 26 Feb 2012 01:03:38 PM CLST :Local ID 85dc8d4b-084f-4c50-9cc5-7d909b31d665 : :Raw Audit Messages :type=AVC msg=audit(1330272218.341:220): avc: denied { read } for pid=2864 comm="systemd-tmpfile" name="file_contexts.subs_dist" dev=dm-3 ino=2999 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=unconfined_u:object_r:default_context_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1330272218.341:220): arch=c000003e syscall=2 success=no exit=-13 a0=20d17a0 a1=0 a2=1b6 a3=238 items=0 ppid=1 pid=2864 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="/bin/systemd-tmpfiles" subj=system_u:system_r:systemd_tmpfiles_t:s0 key=(null) : : :Hash: systemd-tmpfile,systemd_tmpfiles_t,default_context_t,None,read : :audit2allow : : :audit2allow -R : :