Commit a5adb6d1 authored by Wolfgang Schweer's avatar Wolfgang Schweer
Browse files

Revert "Adjust cf3/cf.squid"

This reverts commit 3933267c.

This issue is due to a squid bug: #911325
parent 3933267c
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -33,20 +33,12 @@ commands:
    "/usr/sbin/dpkg-reconfigure squid"
      contain => in_shell;

  # (a) Update Squid to use all available space (aka 80% of the partition).
  # (b) Rather rely on squid's built-in restart mechanism than on systemd; this
  # is needed in case of separate partitions for /var and /var/spool/squid;
  # 'ExecReload=/bin/kill -HUP $MAINPID' doesn't work because squid.pid is not
  #  yet available. While 'systemctl reload squid' will fail, it's still
  #  possible to use 'service squid reload', used by 'squid-update-cachedir'.
  # Update Squid to use all the available space (aka 80% of the partition)

  debian.server.installation::
    "/usr/share/debian-edu-config/tools/squid-update-cachedir /etc/squid/squid.conf"
      contain => in_shell;
    "/usr/bin/cp /lib/systemd/system/squid.service /etc/systemd/system/"
      contain => in_shell;
    "/usr/bin/sed -i '/ExecReload/d' /etc/systemd/system/squid.service"
      contain => in_shell;

}

bundle agent editline_squid
+0 −9
Original line number Diff line number Diff line
debian-edu-config (2.10.41) UNRELEASED; urgency=medium

  [ Holger Levsen ]
  * Use the new debhelper-compat(=11) notation and drop d/compat.

  [ Wolfgang Schweer ]
  * Adjust cf3/cf.squid:
    - Rather rely on Squid's built-in restart mechanism than on systemd; this
      is needed in case of separate partitions for /var and /var/spool/squid;
      'ExecReload=/bin/kill -HUP $MAINPID' doesn't work because squid.pid is not
      yet available. While 'systemctl reload squid' will fail, it's still
      possible to use 'service squid reload', used by 'squid-update-cachedir'.

 -- Holger Levsen <holger@debian.org>  Sun, 14 Oct 2018 09:40:23 +0100

debian-edu-config (2.10.40) unstable; urgency=medium