Fedora Account System
Red Hat Associate
Red Hat Customer
Summary: SELinux is preventing /usr/bin/perl "getattr" access on /var/log/cron. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by logwatch. It is not expected that this access is required by logwatch and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:logwatch_t:s0-s15:c0.c1023 Target Context system_u:object_r:var_log_t:s15:c0.c1023 Target Objects /var/log/cron [ file ] Source logwatch Source Path /usr/bin/perl Port <Unknown> Host (removed) Source RPM Packages perl-5.12.2-136.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-11.fc14 Selinux Enabled True Policy Type mls Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.35.8-59.fc14.x86_64 #1 SMP Tue Nov 16 03:32:03 UTC 2010 x86_64 x86_64 Alert Count 1 First Seen Wed 17 Nov 2010 11:23:02 AM CET Last Seen Wed 17 Nov 2010 11:23:02 AM CET Local ID bdca3493-c2b1-4e67-b894-b090ca48fc4b Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1289989382.208:32085): avc: denied { getattr } for pid=9310 comm="logwatch" path="/var/log/cron" dev=dm-3 ino=24536 scontext=system_u:system_r:logwatch_t:s0-s15:c0.c1023 tcontext=system_u:object_r:var_log_t:s15:c0.c1023 tclass=file node=(removed) type=SYSCALL msg=audit(1289989382.208:32085): arch=c000003e syscall=6 success=yes exit=0 a0=7fff83596540 a1=7fff835954b0 a2=7fff835954b0 a3=7fff8359b59e items=0 ppid=9304 pid=9310 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=19 comm="logwatch" exe="/usr/bin/perl" subj=system_u:system_r:logwatch_t:s0-s15:c0.c1023 key=(null) Hash String generated from catchall,logwatch,logwatch_t,var_log_t,file,getattr audit2allow suggests: #============= logwatch_t ============== #!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. #Contraint rule: allow logwatch_t var_log_t:file getattr;
*** This bug has been marked as a duplicate of bug 654249 ***