Alex Abramov wrote:
> Hi everyone. I can't send a signal ( -k reconfigure or -k check .. )
> by root to my squid, it works only by squid user.
>
> sudo -u squid -k reconfigure
>
> As you can see, i can read it.
>
> bash-2.05b# whoami
> root
> bash-2.05b# ls -la /usr/local/squid/
> total 10
> drwxrwxr-x 4 squid squid 512 Nov 13 00:01 .
> drwxr-xr-x 17 root wheel 512 Nov 1 14:31 ..
> drwxr-x--- 18 squid squid 512 Nov 13 12:22 cache
> drwxr-x--- 2 squid squid 512 Nov 12 12:19 logs
> -rw-r--r-- 1 squid squid 5 Nov 13 12:22 squid.pid
> bash-2.05b# cat /usr/local/squid/squid.pid
> 6990
> bash-2.05b# ps -waux | grep 6990
> squid 6990 15.8 21.9 234936 227312 ?? S 12:22PM 18:42.82
> (squid) -D (squid)
> root 9627 0.0 0.1 1592 852 p1 S+ 2:50PM 0:00.01 grep 6990
> bash-2.05b# squid -k check
> squid: ERROR: Could not send signal 0 to process 6990: (3) No such process
>
I think you have hit this probem:
http://bugs.squid-cache.org/show_bug.cgi?id=2751
It's not one we can easily resolve inside Squid.
Could easily be described as "Squid unable to break FreeBSD security"
which is a good thing :)
Amos
-- Please be using Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20 Current Beta Squid 3.1.0.14Received on Fri Nov 13 2009 - 12:26:49 MST
This archive was generated by hypermail 2.2.0 : Sun Nov 15 2009 - 12:00:02 MST