Re: squid 2.2.STABLE4 in a chroot environment

From: Jason Haar <Jason.Haar@dont-contact.us>
Date: Wed, 8 Sep 1999 15:00:28 +1200

On Tue, Sep 07, 1999 at 09:12:20PM +0200, Henrik Nordstrom wrote:
> You probably need to create a /dev/null device entry.

Better yet - strace/truss is your friend. Running a process tracer is the
quickest way I found that allowed me to easily create chroot'ed daemons.

Anyway, my chroot'ed Squid needs things like the following:

/dev/log , /dev/null

/etc/nsswitch.conf, /etc/resolv.conf, /etc/passwd [fake], /etc/group [fake],
/etc/localtime [to get the timestamps correct].

Then the usual Squid files and /lib|/usr/lib libraries required if not
totally statically built.

All works fine!

-- 
Cheers
Jason Haar
Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
     
Received on Tue Sep 07 1999 - 21:19:41 MDT

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