Le 09/11/2014 17:47, Michael Biebl a écrit :
Control: reassign -1 slim
Am 09.11.2014 um 09:37 schrieb dAgeCKo:
Package: systemd
Version: 208-8
Severity: normal
Debian: Testing amd64
Regression: No
If several display managers are installed (for example gdm3 and slim),
at each boot, systemd seems to randomly choose one and launch it.
So we might have gdm3 at one boot and slim at another boot.
That's not a bug in systemd, but slim
In Debian there is traditionally a /etc/X11/default-display-manager
config file, which describes the default display manager.
The sysv init script for the display manager reads that file, checks if
it's supposed to start and exit's otherwise. This means, you can have
multiple display managers installed and all of their sysv init scripts
enabled.
slim does ship a native .service file, which doesn't include that check.
It should add a check like gdm.service (or lightdm.service)
ExecStartPre=/bin/sh -c '[ "$(cat /etc/X11/default-display-manager
2>/dev/null)" = "/usr/sbin/gdm3" ]'
slim should also setup the /etc/systemd/system/display-manager.service
in its maintainer scripts.
I'm re-assigning this bug to slim. Ideally it uses the same scheme as
was implemented for gdm3 and lightdm.
Joss and Martin have designed and implemented that scheme, so I've CCed
them in case the slim maintainer has more questions.
Thanks. Since slim and gdm3 behaved well when systemd was not used, I
quickly thought that systemd was the guilty...
Michael
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org