Your message dated Thu, 31 Aug 2017 09:17:22 +0000
with message-id <[email protected]>
and subject line Bug#870699: fixed in squidguard 1.5-6
has caused the Debian Bug report #870699,
regarding squidguard: update-squidguard fails on upgraded installations with a 
non empty squidguard database
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
870699: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870699
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: squidguard
Version: 1.5-5
Severity: important

Dear Maintainer,

on installations upgraded from Jessie the file /etc/init.d/squid3 remains
installed. This causes the follwing code to be executed in
/usr/sbin/update-squidguard:

116: if [ -n "${INITRUN}" ]; then
117:  if [ -e /etc/init.d/squid3 ]; then
118:    ${INITRUN} squid3 force-reload

The conditions on line 116 and 117 are met so 118 is being executed and fails,
since squid3 is no longer a valid service under Stretch. update-squidguard
exits with an error code due to the "e" option being set. The command produces
the following output:

Rebuild SquidGuard database - this can take a while.
squid3.service is not active, cannot reload.
invoke-rc.d: initscript squid3, action "force-reload" failed.

On vanilla Jessie installations upgraded to Stretch the problem doesn't occur
due to the following lines in update-squidguard:

70: if [ $(ls -1 ${DATADIR} | wc -l) -eq 0 ]; then
71:   echo "No data files found in ${DATADIR} - exiting update-squidguard." >&2
72:   exit 0
73: fi

Since /var/lib/squidguard/db/ is empty without user modification
update-squidguard exits on line 72 producing the following output:

No data files found in /var/lib/squidguard/db - exiting update-squidguard.

Since update-squidguard is called from the post installation script of
the squidguard package attempting to upgrade Jessie installations to Stretch
fails if /var/lib/squidguard/db/ is not empty (or at the very least will
result in the squidguard package being broken after the upgrade). Furthermore
update-squidguard remains broken as long as /etc/init.d/squid3 is not removed.

Workaround: Either manually remove /etc/init.d/squid3 or purge the squid3
(transition-)package using dpkg.

Thank you for your time.

Best regards,
Kim-Alexander Brodowski

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

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages squidguard depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  libc6                  2.24-11+deb9u1
ii  libdb5.3               5.3.28-12+b1
ii  libldap-2.4-2          2.4.44+dfsg-5

Versions of packages squidguard recommends:
ii  liburi-perl  1.71-1
ii  libwww-perl  6.15-1
pn  squid3       <none>

Versions of packages squidguard suggests:
pn  ldap-utils      <none>
pn  squidguard-doc  <none>

-- Configuration Files:
/etc/logrotate.d/squidguard changed [not included]

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Source: squidguard
Source-Version: 1.5-6

We believe that the bug you reported is fixed in the latest version of
squidguard, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Wiedorn <[email protected]> (supplier of updated squidguard package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 30 Aug 2017 23:55:57 +0200
Source: squidguard
Binary: squidguard squidguard-doc
Architecture: source amd64 all
Version: 1.5-6
Distribution: unstable
Urgency: medium
Maintainer: Joachim Wiedorn <[email protected]>
Changed-By: Joachim Wiedorn <[email protected]>
Description:
 squidguard - filter and redirector plugin for Squid
 squidguard-doc - filter and redirector plugin for Squid - Documentation
Closes: 816212 817134 870699
Changes:
 squidguard (1.5-6) unstable; urgency=medium
 .
   * README.Debian:
     - Remove obsolete web address. Closes: #816212
   * update-squidguard:
     - Check path /etc/squid before /etc/squid3. Closes: #870699
   * debian/control:
     - Update recommends field from squid3 to squid. Closes: #817134
     - Bump to Standards-Version 4.1.0 (no changes).
   * debian/compat:
     - Finally move to compat level 9.
   * Fix gcc compiler warning: add into sgDiv.c: include HTEscape.h.
Checksums-Sha1:
 22095be3a9669c4f93d47b2d85a3e433471e46d3 1789 squidguard_1.5-6.dsc
 cedd3a71889ac110675a9ebc814eef72ceed1c86 32732 squidguard_1.5-6.debian.tar.xz
 2329da08789e87c7736e50626a3cdb97046dcb31 151330 
squidguard-dbgsym_1.5-6_amd64.deb
 f51d643587a975fd8aab9fa719ed4a061fc890b4 77982 squidguard-doc_1.5-6_all.deb
 f55e3f9f78f108fbf79faeddb084d0de1729b6b3 6059 squidguard_1.5-6_amd64.buildinfo
 6d18996a94bdc4a23b3a87a96e8ca3f4886298b1 121678 squidguard_1.5-6_amd64.deb
Checksums-Sha256:
 b44526c073ef23ee344dea52dd36c68248a90c6df598dac4e30a1134d6885fef 1789 
squidguard_1.5-6.dsc
 30436c130d3b7b232425e1d548c7a306a4484785cb0d201f6a9f05970e1186a0 32732 
squidguard_1.5-6.debian.tar.xz
 04ef531280d39364e37852a936ce7b561ccd1530ff5655a6ec3bbc7dd0f2c6ba 151330 
squidguard-dbgsym_1.5-6_amd64.deb
 379f5d057a3f18fa93dc1d63f4435d5e5f51694fda8d537f8a24e95fce7a2ac9 77982 
squidguard-doc_1.5-6_all.deb
 3d472a711c6d16e6a38c28b15e11ea6aebc971fdf98b31aa49dfa77d92fec946 6059 
squidguard_1.5-6_amd64.buildinfo
 a87aa03de4a71332c58bf1987882c166d18a152d79d6c598eec696bc2dbcca05 121678 
squidguard_1.5-6_amd64.deb
Files:
 cd6197d4939e4f55c3f9c41125c1e013 1789 web optional squidguard_1.5-6.dsc
 e5d408a8f21361426968637765a063ad 32732 web optional 
squidguard_1.5-6.debian.tar.xz
 a4b0b8cb9e8a5fedf0508cce3201ff1d 151330 debug extra 
squidguard-dbgsym_1.5-6_amd64.deb
 5fd42f70e520a91dd16feac9e0ce0ff8 77982 doc optional 
squidguard-doc_1.5-6_all.deb
 54db8a84f446ffd1319543b42a73585d 6059 web optional 
squidguard_1.5-6_amd64.buildinfo
 c08d30570a8bac4625fbada572e8c831 121678 web optional squidguard_1.5-6_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEuiB7VTCOYLwzX77x8VbpZqUQ5LwFAlmnvvIACgkQ8VbpZqUQ
5LzBxQv/b3IKKSC+8N/Qywwxj72FuuNn/hwMpuViidTZFeuxLrPY8DFiH6nx/6xh
XT/zcHtzr6ZL/ESd2mptcV5Jqql44b4mvI9CtrU3l9ou7B/rCS8vx+upx/RKH3xZ
ig0J0xxdzwpwmIbVif7m1DFr+Pn9w/qiySB50JE5PT5FUqbvpVsr9sf//UI9Gk3X
9NavlOZOBUuq+yQAT3ryuDPd0e4w0Xvg+IH6ZabYBIDhknfLbhWV0gY7/WtLrnf4
xndtNEy1i/znMWPXZ553sQjAtU3Qt7EjRJlVRCPCgY6l2fzVAe0sPatC9QZCOo3A
979Q6pzxmtZ0j4Wbasi8Teui8lRrS3aDIMfZMEMhm8QrWa1JrFkrUD8xBomIopQK
b66EGM3cAXaP4XsQ5YXPL7CWOfzEsFrIzHFGFaV3n0eRDrKuuTNVpuYXZ1lVnmx8
OqlVk8IC3TxCO3hr7rnnDuwPtgdwom3Gd1Ixa3VwcWrbHuniSXdzAD6QGWaycSN+
ZZ9rjMIe
=m26R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to