Re: [squid-users] squid.conf.documented instead of squid.conf?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 14 Apr 2010 23:43:22 +0000

On Wed, 14 Apr 2010 16:02:06 +0200, "Boniforti Flavio"
<flavio_at_piramide.ch>
wrote:
> Hello list.
>
> I'm on Debian SID and wanted to update squid3 to the latest 3.1.1-2
> version. What happened is that dpkg returned me following error:
>
> Configurazione di squid3 (3.1.1-2)...
> sed: errore di lettura su stdin: Is a directory
> dpkg: errore nell'elaborare squid3 (--configure):
> il sottoprocesso vecchio script di post-installation ha restituito lo
> stato di errore 4
> Si sono verificati degli errori nell'elaborazione:
> squid3
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> The *second* line is the one that made me investigate a little bit:
> "sed: error reading stdin: Is a directory"... Thus I checked /etc/squid3
> and got this:
>
> drwxr-xr-x 2 root root 4096 14 apr 15:54 squid.conf
>
> Entering that directory, I discovered:
>
> -rw-r--r-- 1 root root 198563 12 apr 16:09 squid.conf.documented
>
> My questions are:
>
> A) where did my customized squid.conf disappear to?

unknown.

> B) is it normal that now the /etc/squid3/squid.conf is not anymore a
> file, but a directory?

No. It's a new bug in the Debian squid3-3.1.1-2 package.
Hopefully Luigi can fix it again.

> C) how can I extract the actual configuration from the running squid3?

squidclient mgr:config_at_password
 (catch-22: usually requires the "password" as configured in
cachemgr_passwd in squid.conf)

Amos
Received on Wed Apr 14 2010 - 23:43:26 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 15 2010 - 12:00:04 MDT