Re: [squid-users] squid and chroot

From: Tom Penndorf <tpenndorf_at_seibert-media.net>
Date: Wed, 19 Aug 2009 11:53:16 +0200

Avinash Rao schrieb:
> A basic question. what is the use of installing squid in chroot, is
> this something to do with ltsp?
>

Use this to have Squid do a chroot() while initializing. This
        also causes Squid to fully drop root privileges after
        initializing. This means, for example, if you use a HTTP
        port less than 1024 and try to reconfigure, you will may get an
        error saying that Squid can not open the port.

Tom

>
> On Wed, Aug 19, 2009 at 12:25 AM, Henrik
> Nordstrom<henrik_at_henriknordstrom.net> wrote:
>
>> tis 2009-08-18 klockan 17:09 +0200 skrev Tom Penndorf:
>>
>>
>>> i trying to configure squid with chroot. When i start squid, i get the
>>> following error message:
>>> FATAL: MIME Config Table on//etc/squid3/mime.conf: (2) No such file or
>>> directory
>>> Squid Cache (Version 3.0.STABLE15): Terminated abnormally.
>>>
>> Odd..
>>
>>
>>> The file exists. Does someone know, which dir is used for chroot?
>>>
>> What do you mean?
>>
>> The directory Squid should chroot to is specified in the chroot
>> directive..
>>
>> Ah, now I understand. Yes the documentation for the chroot directive is
>> a little fuzzy. It takes a directory argument where Squid should chroot
>> itself, not on/off..
>>
>> Regards
>> Henrik
>>
>>
>>

-- 
Viele Grüße
Tom Penndorf
//SEIBERT/MEDIA/SYSTEMS
  -- 
//SEIBERT/MEDIA GmbH / Rheingau Palais
  Söhnleinstraße 8 / 65201 Wiesbaden
  GF: J.Seibert und M.Seibert / AG Wiesbaden: HRB11502
  T.+49-611-20570-26 / F.+49-611-20570-70
  tpenndorf_at_seibert-media.net
  www.seibert-media.net / http://blog.seibert-media.net   
  --
  
Consulting / Design / Technologies  / Systems
Received on Wed Aug 19 2009 - 10:00:26 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 19 2009 - 12:00:04 MDT