From: Andrea Venturoli on
Hello.
UPDATING says:
> 20100502:
> AFFECTS: users of www/squid*
> AUTHOR: miwi(a)FreeBSD.org
>
> Starting with squid* the directory containing the default cache and log
> directory was changed from $PREFIX/squid/ to /var/squid/.
>
> The default value for the following Squid configuration parameters
> have changed as follows:
>
> cache_log from $PREFIX/squid/logs/cache.log to /var/squid/logs/cache.log
>
> cache_store_log from $PREFIX/squid/logs/store.log to /var/squid/logs/store.log
>
> pid_filename from $PREFIX/squid/logs/squid.pid to /var/squid/logs/squid.pid
>
> coredump_dir from $PREFIX/squid/cache to /var/squid/cache
>
> Please check whether you need to define any of these variables in
> your squid.conf to the old defaults explicitly before updating,
> especially if you have set up automated log processing or automated
> log rotation. If you define pid_filename in your squid.conf you
> should also set squid_pidfile to the same value in /etc/rc.conf,
> cf. $PREFIX/etc/rc.d/squid.
>

AFAICT the parameter "cache_dir" should also be checked.
Not so difficult to guess, but you might want to mention this one too.

bye & Thanks
av.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: RW on
On Mon, 03 May 2010 10:37:29 +0200
Andrea Venturoli <ml(a)netfence.it> wrote:

> Hello.
> UPDATING says:
> > 20100502:
> > AFFECTS: users of www/squid*
> > AUTHOR: miwi(a)FreeBSD.org
> >
> > Starting with squid* the directory containing the default cache
> > and log directory was changed from $PREFIX/squid/ to /var/squid/.
> >

> AFAICT the parameter "cache_dir" should also be checked.
> Not so difficult to guess, but you might want to mention this one too.

And grep found netdb_filename too.

I don't see the point of this move. I can see a case for relocating the
files properly according to hier, and I can see a case for leaving it
where it is (/usr/local causes fewer hassles with partition
size). /var/squid seems to be the worst of both to me.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Bob Eager on
On 3 May 2010 18:30:38 -0000
tmseck-lists(a)netcologne.de (Thomas-Martin Seck) wrote:

> Since Squid 2.7/3.0 cannot separate cache and
> log dir (they are subdirectories of the "localstatedir") I could
> not intelligently separate logs from caches without major hackery.

Sorry - I'm a but late to this discussion, having only recently joined
the list.

What exactly can't be separated? I run squid on a machine where the
cache is in /cache (separate file system mounted on that) and the logs
are in /var/log/squid. That's how I configured it in squid.conf.

What am I missing?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Sean on
On 4/05/2010 5:48 AM, Bob Eager wrote:
> On 3 May 2010 18:30:38 -0000
> tmseck-lists(a)netcologne.de (Thomas-Martin Seck) wrote:
>
>> Since Squid 2.7/3.0 cannot separate cache and
>> log dir (they are subdirectories of the "localstatedir") I could
>> not intelligently separate logs from caches without major hackery.
>
> Sorry - I'm a but late to this discussion, having only recently joined
> the list.
>
> What exactly can't be separated? I run squid on a machine where the
> cache is in /cache (separate file system mounted on that) and the logs
> are in /var/log/squid. That's how I configured it in squid.conf.
>
> What am I missing?


Nothing, except it's done by overriding defaults in the squid.conf file,
not by changing the defaults. The defaults can only have the single
parent directory changed.


> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"