Search squid archive

Re: Strange Problems with redirector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Philipp,

> I'm trieing to configure Squid (2.5.STABLE12) to use squidGuard (1.2.0 )
> on a OpenSuSE 10.1.
> 
> But it doesn't work. Squid without a redictor starts up, but configured
> with a redirector (even if I use "cat") crashes on startup.

Please check, if AppArmor is running. It is started by default and there is a 
profile for Squid which limits using redirectors and authentication. To check 
if AppArmor is protecting Squid, do:

cat /sys/kernel/security/apparmor/profiles | grep squid

If this returns a line like

/usr/sbin/squid (enforce)

there is an AppArmor profile for Squid activated. To de-activate this profile, 
you can

a) Remove the AppArmor Squid profile and reload AppArmor:

rm /etc/apparmor.d/usr.sbin.squid
rcapparmor reload (or /etc/init.d/apparmor reload)

Please use "reload", not "restart". If you restart, AppArmor will only protect 
services which are started after AppArmor. Already running processes will not 
be protected any longer.

b) Disable AppArmor completely:

rcapparmor stop
insserv -r apparmor

Regards,

Peter

-- 
Peter Albrecht, Novell Training Services, peter.albrecht@xxxxxxxxxx

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux