Summary: SELinux is preventing /usr/sbin/logrotate "getattr" access on /var/lib/zope/etc/logrotate.conf. Detailed Description: SELinux denied access requested by logrotate. It is not expected that this access is required by logrotate 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:logrotate_t:s0-s0:c0.c1023 Target Context system_u:object_r:var_lib_t:s0 Target Objects /var/lib/zope/etc/logrotate.conf [ file ] Source logrotate Source Path /usr/sbin/logrotate Port <Unknown> Host (removed) Source RPM Packages logrotate-3.7.8-5.fc12 Target RPM Packages compat-zope-2.10.6-3.fc11 Policy RPM selinux-policy-3.6.32-55.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.6-145.fc12.i686.PAE #1 SMP Sat Nov 21 16:12:37 EST 2009 i686 i686 Alert Count 2 First Seen Sat 05 Dec 2009 03:13:36 AM EST Last Seen Sun 06 Dec 2009 03:53:39 AM EST Local ID b47cb713-4109-4416-94f2-f293b0d3bee6 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1260089619.395:114): avc: denied { getattr } for pid=26705 comm="logrotate" path="/var/lib/zope/etc/logrotate.conf" dev=sda3 ino=17017 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_lib_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1260089619.395:114): arch=40000003 syscall=195 success=no exit=-13 a0=bff96f24 a1=bff948d0 a2=a3aff4 a3=95dd1b0 items=0 ppid=26703 pid=26705 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=17 comm="logrotate" exe="/usr/sbin/logrotate" subj=system_u:system_r:logrotate_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-55.fc12,catchall,logrotate,logrotate_t,var_lib_t,file,getattr audit2allow suggests: #============= logrotate_t ============== allow logrotate_t var_lib_t:file getattr;
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.6.32-56.fc12.noarch
selinux-policy-3.6.32-56.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-56.fc12
selinux-policy-3.6.32-56.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12990
selinux-policy-3.6.32-56.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.