David Nillesen writes:
>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.
I'm probably way out of line here, but I think if you build squid from
the source code (instead of using RPM), you will not have this
problem. Squid's configure script will detect the broken setresuid()
on your system and use a workaround.
Duane W.
Received on Wed Feb 24 1999 - 11:32:00 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:42 MST