Bug#760666: squid-deb-proxy writes to /var/log/squid3/netdb.state
On Sat, Sep 06, 2014 at 12:45:11PM -0500, Vagrant Cascadian wrote: Control: tag -1 patch On 2014-09-06 12:27:42 -0500, Vagrant Cascadian wrote: It seems like it should probably be writing to /var/log/squid-deb-proxy/netdb.state instead. Thanks a lot for the bugreport and the patch (and sorry for my slow reply). I merged it into my bzr tree and it will be part of the next upload. Cheers, Michael The following patch might fix this: diff --git a/squid-deb-proxy/squid-deb-proxy.conf b/squid-deb-proxy/squid-deb-proxy.conf index 7672e69..5e4b267 100644 --- a/squid-deb-proxy/squid-deb-proxy.conf +++ b/squid-deb-proxy/squid-deb-proxy.conf @@ -91,3 +91,11 @@ http_access allow allowed_networks # And finally deny all other access to this proxy http_access deny all + +# TAG: netdb_filename +# Where Squid stores it's netdb journal. +# When enabled this journal preserves netdb state between restarts. +# +# To disable, enter none. +#Default: +netdb_filename stdio:/var/log/squid-deb-proxy/netdb.state live well, vagrant -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#760666: squid-deb-proxy writes to /var/log/squid3/netdb.state
Package: squid-deb-proxy Version: 0.8.8 Severity: normal It appears that squid-deb-proxy is writing to a squid3 logfile: /var/log/squid-deb-proxy/cache.log:2014/09/06 11:45:24 kid1| Logfile: opening log stdio:/var/log/squid3/netdb.state /var/log/squid-deb-proxy/cache.log:2014/09/06 11:45:24 kid1| Logfile: closing log stdio:/var/log/squid3/netdb.state It seems like it should probably be writing to /var/log/squid-deb-proxy/netdb.state instead. Thanks for squid-deb-proxy! live well, vagrant -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (120, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 armhf Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages squid-deb-proxy depends on: ii debconf [debconf-2.0] 1.5.53 ii squid3 3.3.8-1.2 Versions of packages squid-deb-proxy recommends: ii avahi-utils 0.6.31-4 squid-deb-proxy suggests no packages. -- Configuration Files: /etc/squid-deb-proxy/squid-deb-proxy.conf changed [not included] local cache_dir size and location changed... -- debconf information excluded pgpdPTs59SluQ.pgp Description: PGP signature
Bug#760666: squid-deb-proxy writes to /var/log/squid3/netdb.state
Control: tag -1 patch On 2014-09-06 12:27:42 -0500, Vagrant Cascadian wrote: It seems like it should probably be writing to /var/log/squid-deb-proxy/netdb.state instead. The following patch might fix this: diff --git a/squid-deb-proxy/squid-deb-proxy.conf b/squid-deb-proxy/squid-deb-proxy.conf index 7672e69..5e4b267 100644 --- a/squid-deb-proxy/squid-deb-proxy.conf +++ b/squid-deb-proxy/squid-deb-proxy.conf @@ -91,3 +91,11 @@ http_access allow allowed_networks # And finally deny all other access to this proxy http_access deny all + +# TAG: netdb_filename +# Where Squid stores it's netdb journal. +# When enabled this journal preserves netdb state between restarts. +# +# To disable, enter none. +#Default: +netdb_filename stdio:/var/log/squid-deb-proxy/netdb.state live well, vagrant pgppn2UY7LEPD.pgp Description: PGP signature