Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/libexec/postfix/smtp from read, write access on the file /var/spool/postfix/pid/unix.smtp. ***** Plugin catchall (100. confidence) suggests *************************** If vous pensez que smtp devrait être autorisé à accéder read write sur unix.smtp file par défaut. Then vous devriez rapporter ceci en tant qu'anomalie. Vous pouvez générer un module de stratégie local pour autoriser cet accès. Do autoriser cet accès pour le moment en exécutant : # grep smtp /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:postfix_smtp_t:s0 Target Context system_u:object_r:postfix_var_run_t:s0 Target Objects /var/spool/postfix/pid/unix.smtp [ file ] Source smtp Source Path /usr/libexec/postfix/smtp Port <Inconnu> Host (removed) Source RPM Packages postfix-2.10.0-1.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-41.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.10.0-0.rc0.git21.1.fc20.x86_64 #1 SMP Tue May 7 19:47:51 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-05-08 11:32:23 CEST Last Seen 2013-05-08 11:32:23 CEST Local ID efa2f2de-3bce-4689-86c7-e389a92de3c2 Raw Audit Messages type=AVC msg=audit(1368005543.124:156): avc: denied { read write } for pid=3938 comm="smtp" name="unix.smtp" dev="dm-0" ino=3024610 scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:object_r:postfix_var_run_t:s0 tclass=file type=AVC msg=audit(1368005543.124:156): avc: denied { open } for pid=3938 comm="smtp" path="/var/spool/postfix/pid/unix.smtp" dev="dm-0" ino=3024610 scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:object_r:postfix_var_run_t:s0 tclass=file type=SYSCALL msg=audit(1368005543.124:156): arch=x86_64 syscall=open success=yes exit=ENOEXEC a0=7fe280bcdd50 a1=2 a2=0 a3=0 items=0 ppid=2381 pid=3938 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=smtp exe=/usr/libexec/postfix/smtp subj=system_u:system_r:postfix_smtp_t:s0 key=(null) Hash: smtp,postfix_smtp_t,postfix_var_run_t,file,read,write audit2allow #============= postfix_smtp_t ============== allow postfix_smtp_t postfix_var_run_t:file { read write open }; audit2allow -R require { type postfix_smtp_t; type postfix_var_run_t; class file { read write open }; } #============= postfix_smtp_t ============== allow postfix_smtp_t postfix_var_run_t:file { read write open }; Additional info: hashmarkername: setroubleshoot kernel: 3.10.0-0.rc0.git21.1.fc20.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 960903 ***