mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-15 06:49:35 +00:00
Restart systemd-logind.service on upgrades
The CreateSession D-Bus API of systemd-logind changed between v44 and v204 [1]. As result, newer versions of libpam-systemd fail to register a new session if they talk to the old systemd-logind process. Restarting systemd-logind.service when upgrading from v44 means we will lose existing sessions, but as wheezy still has ConsoleKit as default, this shouldn't matter that much. Closes: #717403 [1] https://bugs.freedesktop.org/show_bug.cgi?id=67131
This commit is contained in:
parent
e7408c3c00
commit
e14b697bbe
1
debian/systemd.postinst
vendored
1
debian/systemd.postinst
vendored
@ -28,6 +28,7 @@ fi
|
||||
if [ -n "$2" ]; then
|
||||
_systemctl daemon-reexec || true
|
||||
_systemctl try-restart systemd-journald.service || true
|
||||
_systemctl try-restart systemd-logind.service || true
|
||||
fi
|
||||
|
||||
# Do a one-time migration of the local time setting
|
||||
|
||||
Loading…
Reference in New Issue
Block a user