ok. I removed the /chroot/squid from the path-names and ensured the chroot
/chroot/squid tag is set .
# /chroot/squid/usr/sbin/squid -sYDX -f /chroot/squid/etc/squid/squid.conf
Now the parent is not even starting:
FATAL. /etc/squid/mime.conf: (2) No such file or directory
# su squid
$ cat /chroot/squid/etc/squid/mime.conf
works.
I made the cross-test and added the /chroot/squid/ back to the mime_table
-tag
Result:
FATAL. /etc/squid/icons: (2) No such file or directory
It seems that squid needs the /chroot/squid/ prefix in pathnames cause
"icons" is checked later at startup.
Is "chroot"-tag not working ?
On Wed, Aug 29, 2001, juergen.northe@junghans-fwt.de wrote:
> Hi !
> i have compiled squid-2.3STABLE5 under RH 7.1 and created a chroot-jail
in
> /chroot/squid with the files listed at the end of this message.
> In /chroot/squid/etc/squid/squid.conf
> i modified the tags like:
> cache_effective_user / group squid
> icon_directory chroot/squid/etc/squid/icons
> error_directory /chroot/squid/etc/squid/errors
> pid_filename /chroot/squid/var/log/squid/squid.pid
> chroot /chroot/squid
Ok. It looks like you've screwed the paths up.
You don't need /chroot/squid/ in front of all the paths if you're
setting a chroot.
Adrian
Received on Wed Aug 29 2001 - 10:44:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:56 MST