* Explicitly order debian-fixup before sysinit.target to prevent a
possible race condition with the creation of sockets. Thanks to
Michael Biebl for debugging this.
+ * Always restart the initctl socket on upgrades, to mask sysvinit
+ removing it.
[ Michael Biebl ]
* Remove workaround for non-interactive sessions from pam config again.
fi
fi
-if dpkg --compare-versions "$2" lt "37-1.1"; then
- # Create /run/initctl → /dev/initctl compat symlink on upgrades
- if [ -e /sys/fs/cgroup/systemd ]; then
- _systemctl restart systemd-initctl.socket || true
- fi
+# Create /run/initctl → /dev/initctl compat symlink on upgrades
+if [ -e /sys/fs/cgroup/systemd ]; then
+ _systemctl restart systemd-initctl.socket || true
fi
if dpkg --compare-versions "$2" lt "40-1"; then