[CentOS] selinux problem with squid and snmp_port in centos 5

Thu Apr 19 12:16:00 UTC 2007
Stefan Held <obi at unixkiste.org>

Am Donnerstag, den 19.04.2007, 11:17 +0900 schrieb net foss:
> Hi all,

su -

cd ~

cp that one:
> type=SYSCALL msg=audit(1176946812.492:244): arch=40000003 syscall=102
> success=no exit=-13 a0=2 a1=bf880060 a2=81109f0 a3=bf88007c items=0
> ppid=15684 pid=15705 auid=500 uid=23 gid=23 euid=0 suid=0 fsuid=0
> egid=23 sgid=23 fsgid=23 tty=(none) comm="squid" exe="/usr/sbin/squid"
> subj=user_u:system_r:squid_t:s0 key=(null)

into a file named: squid_snmp_audit.log

run: audit2allow -M squid_snmp -i squid_snmp_audit.log

after that: 

semodule -i squid_snmp.pp 


> Any hint to solve the problem is appreciated.

Greetings

-- 

 Stefan Held                    VI has only 2 Modes:
 obi unixkiste org              The first one is for beeping all the time,
 FreeNode: foo_bar              the second destroys the text.
---------------------------------------------------------------------------
Fedora Ambassador:                 http://fedoraproject.org/wiki/StefanHeld
---------------------------------------------------------------------------
perl -e'map{print pack c,($|++?1:13)+ord,select$,,$,,$,,$|}split//,ESEL.$/'
---------------------------------------------------------------------------
    GPG-Keyprint = 75C0 F029 CA71 F061 6C07  0640 38F7 E5F9 4EA5 A385
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.centos.org/pipermail/centos/attachments/20070419/452e8366/attachment-0005.sig>