Commit 41060f5a authored by Tollef Fog Heen's avatar Tollef Fog Heen
Browse files

Always restart the initctl socket on upgrades, to mask sysvinit removing it.

parent 6b63e588
......@@ -13,6 +13,8 @@ systemd (44-1) UNRELEASED; urgency=low
* 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.
......
......@@ -40,11 +40,9 @@ EOF
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment