[pve-devel] [PATCH ha-manager 1/3] postinst: drop transitional systemd watchdog mux socket cleanup

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jan 24 11:04:54 CET 2018


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 at proxmox.com>
---
 debian/postinst | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 770572b..e0eae69 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -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)
-- 
2.14.2





More information about the pve-devel mailing list