Package: squid
Version: 4.13-6
Severity: normal

Looks like we still have a problem, the postrm auto added hooks by debhelper
are disabling the service when you purge squid and squid-openssl is installed.

The problem lays here, but as I said, this is auto added code :-(

if [ "$1" = "purge" ]; then
  if [ -x "/usr/bin/deb-systemd-helper" ]; then
     deb-systemd-helper purge 'squid.service' >/dev/null || true
     deb-systemd-helper unmask 'squid.service' >/dev/null || true
  fi
fi


Don't really know how to solve this in code right now, I'll have to think
about it, I'm accepting ideas.

Meanwhile, if you encounter this bug, just do: systemctl enable squid

Regards.

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

Kernel: Linux 5.10.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set
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  init-system-helpers      1.60
ii  libc6                    2.31-9
ii  libcap2                  1:2.44-1
ii  libcom-err2              1.46.2-1
ii  libcrypt1                1:4.4.17-1
ii  libdb5.3                 5.3.28+dfsg1-0.8
ii  libdbi-perl              1.643-3+b1
ii  libecap3                 1.0.1-3.2+b1
ii  libexpat1                2.2.10-2
ii  libgcc-s1                10.2.1-6
ii  libgnutls30              3.7.0-7
ii  libgssapi-krb5-2         1.18.3-4
ii  libkrb5-3                1.18.3-4
ii  libldap-2.4-2            2.4.57+dfsg-2
ii  libltdl7                 2.4.6-15
ii  libnetfilter-conntrack3  1.0.8-3
ii  libnettle8               3.7-2.1
ii  libnsl2                  1.3.0-2
ii  libpam0g                 1.4.0-6
ii  libsasl2-2               2.1.27+dfsg-2.1
ii  libstdc++6               10.2.1-6
ii  libsystemd0              247.3-2
ii  libxml2                  2.9.10+dfsg-6.3+b1
ii  logrotate                3.18.0-2
ii  lsb-base                 11.1.0
ii  netbase                  6.2
ii  squid-common             4.13-6

Versions of packages squid recommends:
ii  ca-certificates  20210119
ii  libcap2-bin      1:2.44-1

Versions of packages squid suggests:
ii  apparmor     2.13.6-9
pn  resolvconf   <none>
pn  smbclient    <none>
pn  squid-cgi    <none>
pn  squid-purge  <none>
pn  squidclient  <none>
pn  ufw          <none>
pn  winbind      <none>

-- no debconf information

Reply via email to