Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing smtpd from read, write access on the file /var/spool/postfix/pid/inet.submission. ***** Plugin catchall (100. confidence) suggests *************************** If cree que de manera predeterminada, smtpd debería permitir acceso read write sobre inet.submission file. Then debería reportar esto como un error. Puede generar un módulo de política local para permitir este acceso. Do permita el acceso momentáneamente executando: # grep smtpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:postfix_smtpd_t:s0 Target Context system_u:object_r:postfix_var_run_t:s0 Target Objects /var/spool/postfix/pid/inet.submission [ file ] Source smtpd Source Path smtpd Port <Unknown> Host (removed) Source RPM Packages postfix-2.9.6-4.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-95.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.2-200.fc18.x86_64 #1 SMP Mon May 13 13:59:47 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-05-19 15:30:10 CEST Last Seen 2013-05-19 15:30:56 CEST Local ID 06b47d63-3277-4480-8af9-3729288c9064 Raw Audit Messages type=AVC msg=audit(1368970256.224:776): avc: denied { read write } for pid=9712 comm="smtpd" name="inet.submission" dev="dm-2" ino=6162153 scontext=system_u:system_r:postfix_smtpd_t:s0 tcontext=system_u:object_r:postfix_var_run_t:s0 tclass=file type=SYSCALL msg=audit(1368970256.224:776): arch=x86_64 syscall=open success=no exit=EACCES a0=7f437e65af50 a1=2 a2=0 a3=11 items=0 ppid=9705 pid=9712 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=smtpd exe=/usr/libexec/postfix/smtpd subj=system_u:system_r:postfix_smtpd_t:s0 key=(null) Hash: smtpd,postfix_smtpd_t,postfix_var_run_t,file,read,write audit2allow #============= postfix_smtpd_t ============== allow postfix_smtpd_t postfix_var_run_t:file { read write }; audit2allow -R require { type postfix_smtpd_t; type postfix_var_run_t; class file { read write }; } #============= postfix_smtpd_t ============== allow postfix_smtpd_t postfix_var_run_t:file { read write }; Additional info: hashmarkername: setroubleshoot kernel: 3.9.2-200.fc18.x86_64 type: libreport Potential duplicate: bug 960075
*** Bug 964763 has been marked as a duplicate of this bug. ***
Back ported. You can allow it for now using # grep smtpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp
selinux-policy-3.11.1-96.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-96.fc18
Package selinux-policy-3.11.1-96.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-96.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-8730/selinux-policy-3.11.1-96.fc18 then log in and leave karma (feedback).
Description of problem: This happened with normal postfix startup by systemd. Looks like permissions might have gotten tightened a bit too much. Additional info: hashmarkername: setroubleshoot kernel: 3.8.11-200.fc18.x86_64 type: libreport
*** Bug 962065 has been marked as a duplicate of this bug. ***
*** Bug 965795 has been marked as a duplicate of this bug. ***
Description of problem: Any postfix usage will reproduce. Additional info: hashmarkername: setroubleshoot kernel: 3.9.2-200.fc18.x86_64 type: libreport
selinux-policy-3.11.1-96.fc18 fixes it for me thanks.
selinux-policy-3.11.1-96.fc18 fixes it for me too. thanks!
selinux-policy-3.11.1-96.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.