| Summary: | SELinux is preventing /usr/bin/systemd-tmpfiles from 'setattr' accesses on the directory /var/log/journal/cbad0c27d75e460ba0940c8171126f13. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | abyss.7 |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | 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:5ff419111b51132a02a34a34df9933fa6aebabf69a4e0ab84c5ed3bcbac06d78 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-09 12:34: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: | |
#============= systemd_tmpfiles_t ============== #!!!! This avc is allowed in the current policy allow systemd_tmpfiles_t var_log_t:dir setattr; Please update to the latest policy. |
Description of problem: `yum install samba` SELinux is preventing /usr/bin/systemd-tmpfiles from 'setattr' accesses on the directory /var/log/journal/cbad0c27d75e460ba0940c8171126f13. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-tmpfiles should be allowed setattr access on the cbad0c27d75e460ba0940c8171126f13 directory 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:var_log_t:s0 Target Objects /var/log/journal/cbad0c27d75e460ba0940c8171126f13 [ dir ] Source systemd-tmpfile Source Path /usr/bin/systemd-tmpfiles Port <Unknown> Host (removed) Source RPM Packages systemd-208-9.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-90.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.10-300.fc20.x86_64 #1 SMP Fri Nov 29 19:16:48 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-12-07 14:19:04 MSK Last Seen 2013-12-07 14:19:04 MSK Local ID ccd64186-94f1-469f-bfc0-a4bd2928d75a Raw Audit Messages type=AVC msg=audit(1386411544.848:782): avc: denied { setattr } for pid=4065 comm="systemd-tmpfile" name="cbad0c27d75e460ba0940c8171126f13" dev="sda1" ino=525062 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=dir type=SYSCALL msg=audit(1386411544.848:782): arch=x86_64 syscall=chmod success=no exit=EACCES a0=7f1ae97be7a0 a1=5ed a2=1 a3=10 items=0 ppid=1 pid=4065 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=systemd-tmpfile exe=/usr/bin/systemd-tmpfiles subj=system_u:system_r:systemd_tmpfiles_t:s0 key=(null) Hash: systemd-tmpfile,systemd_tmpfiles_t,var_log_t,dir,setattr Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.10-300.fc20.x86_64 type: libreport