Hide Forgot
Description of problem: SELinux is preventing /usr/bin/touch from 'write' accesses on the file shorewall. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that touch should be allowed write access on the shorewall 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 touch /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:shorewall_t:s0 Target Context system_u:object_r:var_lock_t:s0 Target Objects shorewall [ file ] Source touch Source Path /usr/bin/touch Port <Unknown> Host (removed) Source RPM Packages coreutils-8.21-11.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-73.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.5-301.fc19.x86_64 #1 SMP Tue Jun 11 19:39:38 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-08-28 16:53:42 SAST Last Seen 2013-08-28 16:53:42 SAST Local ID adb18a9d-5fe6-4908-a531-9d07598c82db Raw Audit Messages type=AVC msg=audit(1377701622.413:1184): avc: denied { write } for pid=7598 comm="touch" name="shorewall" dev="tmpfs" ino=76036 scontext=system_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file type=SYSCALL msg=audit(1377701622.413:1184): arch=x86_64 syscall=utimensat success=no exit=EACCES a0=ffffffffffffff9c a1=7fff56ce1564 a2=0 a3=0 items=0 ppid=7513 pid=7598 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=pts3 comm=touch exe=/usr/bin/touch subj=system_u:system_r:shorewall_t:s0 key=(null) Hash: touch,shorewall_t,var_lock_t,file,write Additional info: reporter: libreport-2.1.5 hashmarkername: setroubleshoot kernel: 3.9.5-301.fc19.x86_64 type: libreport
Looks like this file is mislabeld restorecon -R -v /var/lock/