Re: [squid-users] Squid 2.6 and chroot - what files are needed?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 30 Sep 2006 01:36:55 +0200

mån 2006-09-25 klockan 18:05 -0700 skrev Jeff Tharp:

> I know this topic has come up with previous versions of Squid, and I've
> seen various answers in the archives but I was wondering what the
> official stance was for 2.6 (and maybe what the plan would be for 3.0).

For just Squid you need /dev/null, the cache, logs, error pages,
mime.conf (I think) and the icons.

If your Squid is built with any helpers then you need

  the helpers
  the dynamic linker
  any libraries used by these helpers
  any other files required by the helpers

Squid is normally build with at least the unlinkd helper. This helper
requires
  unlinkd
  the dynamic linker
  libc

Also it's probably a good idea to configure syslog to have a dev/log
socket in the chroot. Not required, but often nice to have.

This should apply to 2.5 (recent ones) and later versions.

Regards
Henrik

Received on Fri Sep 29 2006 - 17:37:00 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT