| Summary: | SELinux is preventing /bin/systemd-tmpfiles from 'unlink' accesses on the file yum.log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Clyde E. Kunkel <clydekunkel7734> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | anaconda-maint-list, audit.art, dwalsh, jonathan, mgrepl, vanmeeuwen+fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:f514abb3ca8642864794a83ceaf930b652dc44b6fc6ae48647ec7e2fe16e6ba3 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-09-28 16:14:53 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 looks like an old anaconda bug that was not fixing the label of the yum.log during installation. What's the full file path? /var/lock Must be obe. closing |
SELinux is preventing /bin/systemd-tmpfiles from 'unlink' accesses on the file yum.log. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed unlink access on the yum.log 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-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:object_r:root_t:s0 Target Objects yum.log [ file ] Source systemd-tmpfile Source Path /bin/systemd-tmpfiles Port <Unknown> Host (removed) Source RPM Packages systemd-units-24-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-15.fc16 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.39-0.rc4.git2.0.fc16.x86_64 #1 SMP Thu Apr 21 02:24:19 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Fri 22 Apr 2011 09:34:57 AM EDT Last Seen Fri 22 Apr 2011 09:34:57 AM EDT Local ID b53a396e-35c0-4e46-8493-219364303bbf Raw Audit Messages type=AVC msg=audit(1303479297.272:98): avc: denied { unlink } for pid=2341 comm="systemd-tmpfile" name="yum.log" dev=dm-0 ino=13 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file type=SYSCALL msg=audit(1303479297.272:98): arch=x86_64 syscall=unlinkat success=no exit=EACCES a0=4 a1=2028053 a2=0 a3=7fffda840451 items=0 ppid=1 pid=2341 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,root_t,file,unlink audit2allow #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t root_t:file unlink; audit2allow -R #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t root_t:file unlink;