Re: [squid-users] Squid 3.2.0.5 beta is available

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 06 Mar 2011 16:25:21 +1300

On 06/03/11 06:48, Helmut Hullen wrote:
> Hallo, Amos,
>
> Du meintest am 06.03.11:
>
>>>>> The icons (p.e. "anthony-unknown.gif") are in
>>>>> "/usr/share/squid/icons", but 3.2.0.5 searches them in
>>>>> "/var/log/squid/www/squid/icons".
>
>>>>> Where's the mis-configuration?
>
>>>> --localstatedir=/var/log/squid appears to be the problem.
>
>>> Ok - some more symlinks ...
>
>> Why do you have all state configured to be installed below "/var/log"
>> anyway? That is a location reserved for log files.
>
> I've taken the "Build" script from 3.1.11 - most parts work well.
>
>> Distribution packages are supposed to set --localstatedir=/var there.
>> User-built packages are supposed to set /usr/var or some such local
>> equivalent.
>
> Ok - I'll update the script.
>
>>> What about the old icons, p.e. "anthony-unknown.gif"?
>>>
>>> squid mourned that it couldn't find them, and they seem to be no
>>> part of 3.2.0.5
>>>
>>> Mar 5 11:02:59 ElNath squid[14639]: Starting Squid Cache version
>>> 3.2.0.5 for i486-slackware-linux-gnu...
>>> Mar 5 11:02:59 ElNath squid[14639]: mimeLoadIconFile:
>>> /var/log/squid/www/squid/icons/anthony-image.gif: (2) No such file
>>> or directory Mar 5 11:02:59 ElNath squid[14639]: mimeLoadIconFile:
>>> /var/log/squid/www/squid/icons/anthony-text.gif: (2) No such file or
>>> directory Mar 5 11:02:59 ElNath squid[14639]: mimeLoadIconFile:
>>> /var/log/squid/www/squid/icons/anthony-dirup.gif: (2) No such file
>>> or directory [...]
>>>
>>> When I linked (or declared) the icon_directory to the 3.1.11 icon
>>> directory all worked fine.
>
>> There is a file mime.conf installed with Squid which should have been
>> updated to link the new icons. Perhaps it has not been updated.
>
>
> It hasn't ... thank you!
>
> -------------------
>
> By the way: in "errorpage.css" the "background" calls a picture
> ("SN.png") via the net. That's no good idea for a machine which is
> sometimes offline.

I know, thanks. Nasty mess of software limits around that one with CSS
and acceptible URL schemas. Work is very slowly underway to make it pull
the local www/squid/SN.png copy instead.

Meanwhile the offline events should not be a huge problem. The browsers
just shows an empty patch and we have set a very long caching period so
Squid should pick it up and store it locally.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.11
   Beta testers wanted for 3.2.0.5
Received on Sun Mar 06 2011 - 03:25:31 MST

This archive was generated by hypermail 2.2.0 : Mon Mar 07 2011 - 12:00:02 MST