Bug#929574: squid: After running "squid -k rotate", it is not possible to obtain operation statistics on "squidclient mgr: info"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#929574: squid: After running "squid -k rotate", it is not possible to obtain operation statistics on "squidclient mgr: info"

Soukaku TATARA
Package: squid
Version: 4.6-2
Severity: minor

Dear Maintainer,

Immediately after performing log rotation by executing "squid -k rotate", acquisition of operation statistics information by squidclient (squidclient mgr: info) fails.
Restarting squid has confirmed that the event will recover.


-- System Information:
Debian Release: 10.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.0.0-trunk-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages squid depends on:
ii  adduser                  3.118
ii  libc6                    2.28-10
ii  libcap2                  1:2.25-2
ii  libcom-err2              1.45.1-3
ii  libdb5.3                 5.3.28+dfsg1-0.6
ii  libdbi-perl              1.642-1+b1
ii  libecap3                 1.0.1-3.2
ii  libexpat1                2.2.6-1
ii  libgcc1                  1:9-20190402-1
ii  libgnutls30              3.6.7-3
ii  libgssapi-krb5-2         1.17-2
ii  libkrb5-3                1.17-2
ii  libldap-2.4-2            2.4.47+dfsg-3
ii  libltdl7                 2.4.6-10
ii  libnetfilter-conntrack3  1.0.7-1
ii  libnettle6               3.4.1-1
ii  libpam0g                 1.3.1-5
ii  libsasl2-2               2.1.27+dfsg-1
ii  libstdc++6               8.3.0-7
ii  libxml2                  2.9.4+dfsg1-7+b3
ii  logrotate                3.14.0-4
ii  lsb-base                 10.2019051400
ii  netbase                  5.6
ii  squid-common             4.6-2

Versions of packages squid recommends:
ii  ca-certificates  20190110
ii  libcap2-bin      1:2.25-2

Versions of packages squid suggests:
ii  apparmor     2.13.2-10
pn  resolvconf   <none>
pn  smbclient    <none>
pn  squid-cgi    <none>
ii  squid-purge  4.6-2
ii  squidclient  4.6-2
pn  ufw          <none>
pn  winbind      <none>

-- Configuration Files:
/etc/logrotate.d/squid changed:
/var/log/squid/cache.log
/var/log/squid/sarg_access.log{
        missingok
        nocreate
        sharedscripts
        prerotate
                test ! -x /usr/sbin/sarg-reports || /usr/sbin/sarg-reports daily
        endscript
        postrotate
                test ! -e /var/run/squid.pid || test ! -x /usr/sbin/squid || /usr/sbin/squid -k rotate
        endscript
}

/etc/squid/squid.conf changed:
include /etc/squid/conf.d/*
pid_filename /run/squid.pid
acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8 # RFC 1918 local private network (LAN)
acl localnet src 100.64.0.0/10 # RFC 6598 shared address space (CGN)
acl localnet src 169.254.0.0/16 # RFC 3927 link-local (directly plugged) machines
acl localnet src 172.16.0.0/12 # RFC 1918 local private network (LAN)
acl localnet src 192.168.0.0/16 # RFC 1918 local private network (LAN)
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl localnet src 2001:470:24:94::/64
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
http_access allow localnet
http_access deny all
http_port 3128
cache_peer 172.16.0.1 parent 3128 7 no-netdb-exchange no-digest
never_direct allow all
forwarded_for on
shutdown_lifetime 5 seconds
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern .     0 20% 4320
logformat combined   %>a %[ui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
access_log syslog:local7.info combined
access_log daemon:/var/log/squid/sarg_access.log squid
cache_mem 512 MB
cache_dir diskd /var/spool/squid 1024 16 256
workers 4


-- no debconf information