Hide Forgot
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
#============= 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.