Hide Forgot
SELinux is preventing /usr/sbin/sendmail.sendmail from 'write' accesses on the file sendmail.pid. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that sendmail.sendmail should be allowed write access on the sendmail.pid 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:sendmail_t:s0 Target Context system_u:object_r:tmpfs_t:s0 Target Objects sendmail.pid [ file ] Source sendmail Source Path /usr/sbin/sendmail.sendmail Port <Unknown> Host (removed) Source RPM Packages sendmail-8.14.4-20.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-6.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar 30 16:55:57 UTC 2011 x86_64 x86_64 Alert Count 3 First Seen Thu 31 Mar 2011 11:54:53 AM GMT Last Seen Thu 31 Mar 2011 11:58:40 AM GMT Local ID 0c9fd292-93e8-4d10-8507-1e03818dff8e Raw Audit Messages type=AVC msg=audit(1301572720.114:281): avc: denied { write } for pid=29677 comm="sendmail" name="sendmail.pid" dev=tmpfs ino=16369 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file type=AVC msg=audit(1301572720.114:281): avc: denied { open } for pid=29677 comm="sendmail" name="sendmail.pid" dev=tmpfs ino=16369 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file type=SYSCALL msg=audit(1301572720.114:281): arch=x86_64 syscall=open success=yes exit=EIO a0=7fffefc69680 a1=1 a2=180 a3=7fffefc3f340 items=0 ppid=1 pid=29677 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=51 sgid=51 fsgid=51 tty=(none) ses=4294967295 comm=sendmail exe=/usr/sbin/sendmail.sendmail subj=system_u:system_r:sendmail_t:s0 key=(null) Hash: sendmail,sendmail_t,tmpfs_t,file,write audit2allow #============= sendmail_t ============== #!!!! The source type 'sendmail_t' can write to a 'file' of the following types: # sendmail_var_run_t, initrc_tmp_t, procmail_tmp_t, sendmail_log_t, mail_spool_t, mqueue_spool_t, user_home_t, dovecot_spool_t, anon_inodefs_t, sendmail_tmp_t, etc_aliases_t allow sendmail_t tmpfs_t:file { write open }; audit2allow -R #============= sendmail_t ============== #!!!! The source type 'sendmail_t' can write to a 'file' of the following types: # sendmail_var_run_t, initrc_tmp_t, procmail_tmp_t, sendmail_log_t, mail_spool_t, mqueue_spool_t, user_home_t, dovecot_spool_t, anon_inodefs_t, sendmail_tmp_t, etc_aliases_t allow sendmail_t tmpfs_t:file { write open };
*** This bug has been marked as a duplicate of bug 692459 ***