Summary: SELinux is preventing /bin/mailx "getattr" access on /var/run/packagekit-cron.t8cDjo. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by mail. It is not expected that this access is required by mail 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:system_mail_t:s0-s0:c0.c1023 Target Context system_u:object_r:var_run_t:s0 Target Objects /var/run/packagekit-cron.t8cDjo [ file ] Source mail Source Path /bin/mailx Port <Unknown> Host (removed) Source RPM Packages mailx-12.4-3.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-56.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.6-166.fc12.x86_64 #1 SMP Wed Dec 9 10:46:22 EST 2009 x86_64 x86_64 Alert Count 1 First Seen Wed 16 Dec 2009 11:13:42 AM EST Last Seen Wed 16 Dec 2009 11:13:42 AM EST Local ID daedb1a0-76f9-4dfe-b887-3b0775b3fe85 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1260980022.123:44446): avc: denied { getattr } for pid=30469 comm="mail" path="/var/run/packagekit-cron.t8cDjo" dev=dm-4 ino=138537 scontext=system_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1260980022.123:44446): arch=c000003e syscall=5 success=yes exit=0 a0=0 a1=7fff8934c740 a2=7fff8934c740 a3=2000 items=0 ppid=16729 pid=30469 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=49 comm="mail" exe="/bin/mailx" subj=system_u:system_r:system_mail_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-56.fc12,catchall,mail,system_mail_t,var_run_t,file,getattr audit2allow suggests: audit2allow is not installed.
Did you setup packagekit to run as a cron job?
Yes... I installed PackageKit-cron, then made these changes: $ grep -v "^#" /etc/sysconfig/packagekit-background ENABLED=yes CHECK_ONLY=no
I am not sure how this file got created the first time, but it should have been labeled crond_var_run_t If you chcon -t crond_var_run_t /var/run/packagekit* You should not see the AVC any longer. I will change the default label for this file. Fixed in selinux-policy-3.6.32-66.fc12.noarch
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12
selinux-policy-3.6.32-66.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-2010-0184
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.