]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
postinst: drop transitional systemd watchdog mux socket cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Jan 2018 10:04:54 +0000 (11:04 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 26 Jan 2018 08:37:22 +0000 (09:37 +0100)
This transitional code was added first with
commit f8a3fc80af299e613c21c9b67e29aee8cc807018
and fixed up with
commit ecc145c9724f056549e5458f17d7714ac8c83459
during Proxmox VE 4.1 and 4.2 to remove the problematic systemd
managed watchdog mux socket.

As each system going for an distribution upgrade must first upgrade
to 4.4, where this gets handled, we can remove it now.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/postinst

index 770572b71e3e1fb174cd4b48d7200a6aac521a1e..e0eae69c47095a774535725b214dc12cb7f0b335 100755 (executable)
@@ -25,16 +25,6 @@ case "$1" in
     exit 0;;
 
   configure)
-
-      # remove the systemd watchdog mux socket service
-      # as watchdog-mux should handle this on it's own
-      if [ -L  /etc/systemd/system/sockets.target.wants/watchdog-mux.socket ]; then
-         rm -f /etc/systemd/system/sockets.target.wants/watchdog-mux.socket
-         rm -f /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/watchdog-mux.socket
-         rm -f /var/lib/systemd/deb-systemd-helper-enabled/watchdog-mux.socket.dsh-also
-         systemctl daemon-reload
-      fi
-
       ;;
 
   abort-upgrade|abort-remove|abort-deconfigure)