Closed sunweaver closed 10 years ago
@stefano-k, just updated my i7 desktop and it did not make any difference to reboot-shutdown apart from I now have only 3 options (restart, cancel, shutdown) instead of the 5 I had before the update. It still shutsdown the gui but simply goes to a flashing cursor on a blank screen and if I leave it it will stay like that untill I force it to shutdown via the power button.
I've experimented a little...
Installed Wheezy (netinstall, no GUI) in a VM, enabled backports, installed MATE.
Of all systemd-related packages, only libsystemd-login0 was installed. Checked shutdown/reboot: ok. Upgraded libsystemd-login0 from backports: shutdown/reboot ok. Installed systemd package (which pulled in libsystemd-journal0 and libsystemd-daemon0): shutdown/reboot ok. Installed kernel 3.14 from backports: shutdown/reboot ok. Installed libpam-systemd and systemd-sysv (had to install them simultaneously), thus making systemd the default init system: shutdown/reboot ok.
I'm aware that @sunweaver rebuilt mate-session-manager without systemd support for wheezy-backports (version 1.8.1-4~bpo70+1). Nevertheless, I was a little surprised that shutdown and reboot continued to work fine even when systemd became the default init system. :)
@stefano-k: the only thing I can't figure out - why only 3 buttons (reboot/cancel/shutdown) in the shutdown/reboot dialog (like @k3lt01 reported)? Where are suspend and hibernate?
@monsta
Nevertheless, I was a little surprised that shutdown and reboot continued to work fine even when systemd became the default init system.
This because in debian there is still consolekit package, instead it is removed in other distributions that use systemd
Ok thanks... but what about the missing buttons?
@sunweaver @k3lt01 @monsta I think I understand why hibernate/suspend arent working now. On sid we disabled upower functions, because they are removed in upower 0.99. But we need to enable again upower in wheezy. See http://git.mate-desktop.org/mate-session-manager/tree/mate-session/gsm-logout-dialog.c#n224
Aha... so in Debian Testing or Unstable hibernate and suspend are handled by systemd when it's the default init system...?
@monsta yes, these functions are removed from upower 0.99
Just a link to understand shutdown procedure with systemd enabled: http://git.mate-desktop.org/mate-session-manager/tree/mate-session/gsm-manager.c#n480
@stefano-k excuse me, could the check against consolekit simply be made before the check against systemd?
@EverEve there is no sense, given that most of DEs are using systemd
Forwarding Debian bug #744264 [1] to upstream:
[1] http://bugs.debian.org/744264