Description of problem: upgrade of f16->f17 x86_64 mailscanner upgraded to current mailscanner-4.84.5-3.noarch mailscanner won't start Additional info: libreport version: 2.0.18 kernel: 3.6.10-2.fc17.x86_64 description: :SELinux is preventing /usr/bin/perl from 'read' accesses on the directory /etc/MailScanner/conf.d. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that perl should be allowed read access on the conf.d directory 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 MailScanner /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:mscan_t:s0 :Target Context system_u:object_r:mscan_etc_t:s0 :Target Objects /etc/MailScanner/conf.d [ dir ] :Source MailScanner :Source Path /usr/bin/perl :Port <Unknown> :Host (removed) :Source RPM Packages perl-5.14.3-218.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.10-2.fc17.x86_64 #1 SMP Tue : Dec 11 18:07:34 UTC 2012 x86_64 x86_64 :Alert Count 49 :First Seen 2012-12-30 19:41:29 EST :Last Seen 2012-12-30 19:41:51 EST :Local ID 546bb92d-c3bc-4b2f-97ad-626f4b4f81f8 : :Raw Audit Messages :type=AVC msg=audit(1356914511.28:1023): avc: denied { read } for pid=12697 comm=4D61696C5363616E6E65723A207374 name="conf.d" dev="dm-1" ino=395188 scontext=system_u:system_r:mscan_t:s0 tcontext=system_u:object_r:mscan_etc_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1356914511.28:1023): arch=x86_64 syscall=openat success=no exit=EACCES a0=ffffffffffffff9c a1=7ffff5ffff80 a2=90800 a3=0 items=0 ppid=12436 pid=12697 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=4D61696C5363616E6E65723A207374 exe=/usr/bin/perl subj=system_u:system_r:mscan_t:s0 key=(null) : :Hash: MailScanner,mscan_t,mscan_etc_t,dir,read : :audit2allow : :#============= mscan_t ============== :allow mscan_t mscan_etc_t:dir read; : :audit2allow -R : :#============= mscan_t ============== :allow mscan_t mscan_etc_t:dir read; :
Created attachment 670617 [details] File: type
Created attachment 670618 [details] File: hashmarkername
Added. commit 6be1f50ddce2f8152995262e3cf4e35f0574bad6 Author: Miroslav Grepl <mgrepl> Date: Wed Jan 2 13:40:34 2013 +0100 Allow mscan to read /etc/MailScanner/conf.d directory
selinux-policy-3.10.0-166.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17
Package selinux-policy-3.10.0-166.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-166.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.