Re: Squid won't start (cache_effective_user trouble)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 14 Dec 1997 06:06:09 +0100

Tom Minchin wrote:

> A work around is to make the squid binary setuid to whatever
> cache_effective_user you have chosen.

Why don't you start squid as the user instead? it is much safer, and can
easily be done by using "su squiduser -c /usr/local/squid/bin/RunCache"

> It has something to do with glibc and it's implementation on RH5.

Yep.

RH5 falsely declares that it implements setresuid (the stub is
implemented in glibc, but the functionality is not implemented in 2.0.X
kernels).

A simple workaround: add "#undef HAVE_SETRESUID" to the end of
src/squid.h.

---
Henrik Nordström
Received on Sat Dec 13 1997 - 21:56:35 MST

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