SELinux is preventing /usr/sbin/sendmail.sendmail from 'getattr' accesses on the file /var/lib/rkhunter/rkhcronlog.DslCJL3CTP. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /var/lib/rkhunter/rkhcronlog.DslCJL3CTP default label should be var_lib_t. Then you can run restorecon. Do # /sbin/restorecon -v /var/lib/rkhunter/rkhcronlog.DslCJL3CTP ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that sendmail.sendmail should be allowed getattr access on the rkhcronlog.DslCJL3CTP 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 sendmail /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:system_mail_t:s0-s0:c0.c1023 Target Context system_u:object_r:cron_var_lib_t:s0 Target Objects /var/lib/rkhunter/rkhcronlog.DslCJL3CTP [ file ] Source sendmail Source Path /usr/sbin/sendmail.sendmail Port <Unknown> Host (removed) Source RPM Packages sendmail-8.14.4-10.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-20.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.i686.PAE #1 SMP Thu Dec 23 16:10:47 UTC 2010 i686 i686 Alert Count 1 First Seen 2011 m. sausio 25 d. 03:40:07 Last Seen 2011 m. sausio 25 d. 03:40:07 Local ID 790e29bf-3006-4f26-94c1-4e1a9ac0cc23 Raw Audit Messages type=AVC msg=audit(1295919607.759:28176): avc: denied { getattr } for pid=18419 comm="sendmail" path="/var/lib/rkhunter/rkhcronlog.DslCJL3CTP" dev=dm-0 ino=20262 scontext=system_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cron_var_lib_t:s0 tclass=file sendmail,system_mail_t,cron_var_lib_t,file,getattr type=SYSCALL msg=audit(1295919607.759:28176): arch=i386 syscall=fstat64 success=yes exit=0 a0=1 a1=bfb207fc a2=447ff4 a3=3 items=0 ppid=1 pid=18419 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=51 sgid=51 fsgid=51 tty=(none) ses=438 comm=sendmail exe=/usr/sbin/sendmail.sendmail subj=system_u:system_r:system_mail_t:s0-s0:c0.c1023 key=(null) sendmail,system_mail_t,cron_var_lib_t,file,getattr #============= system_mail_t ============== allow system_mail_t cron_var_lib_t:file getattr;
This SE warning is produced during nightly cron jobs. I have both sendmail 8.14.4 and rkhunter 1.3.8 installed. selinux-policy-targeted-3.9.7-20.fc14.noarch selinux-policy-3.9.7-20.fc14.noarch
*** This bug has been marked as a duplicate of bug 660544 ***