Description of problem: My pc had restarted. When I logged in a few hours later, this message popped up. Additional info: libreport version: 2.0.18 kernel: 3.6.11-5.fc17.x86_64 description: :SELinux is preventing /usr/bin/perl from 'name_bind' accesses on the udp_socket . : :***** Plugin bind_ports (99.5 confidence) suggests ************************* : :If you want to allow /usr/bin/perl to bind to network port 30221 :Then you need to modify the port type. :Do :# semanage port -a -t PORT_TYPE -p udp 30221 : where PORT_TYPE is one of the following: . : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that perl should be allowed name_bind access on the udp_socket 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 spamassassin /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:spamc_t:s0 :Target Context system_u:object_r:unreserved_port_t:s0 :Target Objects [ udp_socket ] :Source spamassassin :Source Path /usr/bin/perl :Port 30221 :Host (removed) :Source RPM Packages perl-5.14.3-218.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-166.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.6.11-5.fc17.x86_64 #1 SMP Tue : Jan 8 21:40:51 UTC 2013 x86_64 x86_64 :Alert Count 2113 :First Seen 2012-12-26 23:50:13 SAST :Last Seen 2013-01-26 22:51:57 SAST :Local ID 2cca425e-b7a0-427b-8a63-ea5aeb9ffdda : :Raw Audit Messages :type=AVC msg=audit(1359233517.478:720): avc: denied { name_bind } for pid=9300 comm="spamassassin" src=30221 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket : : :type=SYSCALL msg=audit(1359233517.478:720): arch=x86_64 syscall=bind success=yes exit=0 a0=7 a1=284a0a0 a2=10 a3=18 items=0 ppid=9298 pid=9300 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=spamassassin exe=/usr/bin/perl subj=system_u:system_r:spamc_t:s0 key=(null) : :Hash: spamassassin,spamc_t,unreserved_port_t,udp_socket,name_bind : :audit2allow : :#============= spamc_t ============== :#!!!! This avc can be allowed using one of the these booleans: :# spamassassin_can_network, allow_ypbind : :allow spamc_t unreserved_port_t:udp_socket name_bind; : :audit2allow -R : :#============= spamc_t ============== :#!!!! This avc can be allowed using one of the these booleans: :# spamassassin_can_network, allow_ypbind : :allow spamc_t unreserved_port_t:udp_socket name_bind; :
Created attachment 688165 [details] File: type
Created attachment 688166 [details] File: hashmarkername
Did you setup 30221/udp port for spamassassin? There is a boolean for this # setsebool -P spamassassin_can_network 1