Re: squid 1.1.19 starts as root

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 31 Dec 1997 01:57:00 +0100

Michael Lupp wrote:

> Why???
>
> If I start squid explicitly as user 'nobody' it starts without a problem. In
> the version ealier than 1.1.19 it works without a problem.

You are probably using a glibc based Linux system with a 2.0.X kernel
(for example RedHat 5.0) where the setresuid call is exported by libc,
but the systemcall is not implemented in the kernel (it is in 2.1.X).

Quick fix:

make clean
setenv ac_cv_func_setresuid no
./configure
make install

Later Squid distributions will detect this automatically.

---
Henrik Nordström
Received on Tue Dec 30 1997 - 18:41:30 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:06 MST