setresuid problems

From: David Nillesen <dave@dont-contact.us>
Date: Wed, 24 Feb 1999 14:01:32 +1100

I have installed the rpm available from the RedHat contrib directory for
Squid Cache: Version 2.2.DEVEL3
However it or redhat has issues, probably redhat, they seem to be the
microsoft of standards in the linux world.

I kept getting this error:
1999/02/24 13:38:54| leave_suid: PID 2055 giving up root, becoming
'nobody'
1999/02/24 13:38:54| leave_suid: setresuid: (38) Function not
implemented
1999/02/24 13:38:54| Squid is not safe to run as root! If you must
1999/02/24 13:38:54| start Squid as root, then you must configure
1999/02/24 13:38:54| it to run as a non-priveledged user with the
1999/02/24 13:38:54| 'cache_effective_user' option in the config file.
FATAL: Don't run Squid as root, set 'cache_effective_user'!
Squid Cache (Version 2.2.DEVEL3): Terminated abnormally.

It took a bit to chase down, until i found the "dump vast amounts of
debugging info" option.

Apache and various other daemons can swap to other users happily at the
moment. I am running Redhat 5.1/linux 2.0.36

Any advice would be appreciated,
something along the lines of squid --redhat-compensation=on would be
nice.

Thanks,

-- 
David Nillesen
dave@northnet.com.au 
Northnet Internet Services (02)67749300
Received on Tue Feb 23 1999 - 19:50:00 MST

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