Package: smokeping
Version: 2.7.3-2
Severity: normal

Dear Maintainer,

When upgrading from stretch to buster, dyndir =
/var/lib/smokeping/__cgi was added to my
/etc/smokeping/config.d/pathnames. This causes smokeping.cgi to look
for files and directories under that __cgi directory, but since my
installation predates dyndir, all of those files and directories are
under datadir. This results in a bunch of errors like this in the web
server error log:

[Sat Oct 12 02:54:46.775961 2019] [cgi:error] [pid 1626:tid 140274202294016] 
[client 2606:6000:cd04:400:222:4dff:fe83:cd4a:42894] AH01215: [Sat Oct 12 
02:54:46 2019] smokeping.cgi [client 2606:6000:cd04:400:222:4dff:fe83:cd4a]: 
Could not lock /var/lib/smokeping/__cgi//Others/ISPRouter.einstein.slave_cache 
(No such file or directory). Trying again 2 more times.: 
/usr/lib/cgi-bin/smokeping.cgi
[Sat Oct 12 02:54:46.778780 2019] [cgi:error] [pid 1626:tid 140274202294016] 
[client 2606:6000:cd04:400:222:4dff:fe83:cd4a:42894] AH01215: [Sat Oct 12 
02:54:46 2019] smokeping.cgi [client 2606:6000:cd04:400:222:4dff:fe83:cd4a]: 
Could not lock /var/lib/smokeping/__cgi//Others/ISPRouter.einstein.slave_cache 
(No such file or directory). Trying again 1 more times.: 
/usr/lib/cgi-bin/smokeping.cgi
[Sat Oct 12 02:54:46.779933 2019] [cgi:error] [pid 1626:tid 140274202294016] 
[client 2606:6000:cd04:400:222:4dff:fe83:cd4a:42894] AH01215: [Sat Oct 12 
02:54:46 2019] smokeping.cgi [client 2606:6000:cd04:400:222:4dff:fe83:cd4a]: 
Could not update 
/var/lib/smokeping/__cgi//Others/ISPRouter.einstein.slave_cache, giving up for 
now. at /usr/share/perl5/Smokeping/Master.pm line 156.: 
/usr/lib/cgi-bin/smokeping.cgi

The easy fix is to remove the dyndir line from
/etc/smokeping/config.d/pathnames. I suppose you could also move the
files to dyndir. I'm not sure why this wasn't a problem when upgrading
to wheezy, jessie, or stretch, since the split_config script seems to
have been introduced for wheezy, and I installed smokeping on squeeze.

-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.1.17-x86_64-linode128 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages smokeping depends on:
ii  adduser                         3.118
ii  debianutils                     4.8.6.1
ii  fping                           4.2-1
ii  libcgi-fast-perl                1:2.13-1
ii  libconfig-grammar-perl          1.12-2
ii  libdigest-hmac-perl             1.03+dfsg-2
ii  libjs-cropper                   1.2.2-1
ii  libjs-prototype                 1.7.1-3
ii  libjs-scriptaculous             1.9.0-2
ii  librrds-perl                    1.7.1-2
ii  libsnmp-session-perl            1.14~git20130523.186a005-4
ii  liburi-perl                     1.76-1
ii  libwww-perl                     6.36-2
ii  lsb-base                        10.2019051400
ii  perl                            5.28.1-6
ii  postfix [mail-transport-agent]  3.4.5-1
ii  ucf                             3.0038+nmu1

Versions of packages smokeping recommends:
ii  apache2 [httpd-cgi]  2.4.38-3+deb10u1
ii  dnsutils             1:9.11.5.P4+dfsg-5.1
ii  echoping             6.0.2-10
ii  libsocket6-perl      0.29-1+b1

Versions of packages smokeping suggests:
ii  curl                   7.64.0-4
pn  libauthen-radius-perl  <none>
ii  libio-socket-ssl-perl  2.060-3
ii  libnet-dns-perl        1.19-1
pn  libnet-ldap-perl       <none>
pn  libnet-telnet-perl     <none>
ii  openssh-client         1:7.9p1-10+deb10u1

-- no debconf information

Reply via email to