Bug#769796: systemd: update-rc.d lightdm disable does not work

Samuel Thibault sthibault at debian.org
Mon Nov 17 08:55:26 UTC 2014


Martin Pitt, le Mon 17 Nov 2014 07:39:20 +0100, a écrit :
> Samuel Thibault [2014-11-16 23:55 +0100]:
> > I have run
> > 
> > systemctl disable display-manager
> > 
> > and now lightdm doesn't start any more.
> 
> Indeed I'm afraid this is a "wontfix". lightdm, gdm, and friends can't
> directly enable/disable their units as this doesn't semantically make
> sense together with /etc/X11/default-display-manager.  With the
> decision/requirement to make multiple display managers installable in
> parallel and selecting them via debconf (none of this is new in
> systemd or related to systemd, BTW) you can't really disable "gdm" or
> "lightdm", you can only disable "the display manager".
> 
> So I'm closing this. If you disagree and want to keep this open, this
> should be reassigned to lightdm and tagged wontfix.

Well, this used to be working before switching to systemd, and
it's really not obvious to the user that he now has to disable
display-manager too (and that can't be done through update-rc.d).

Perhaps it would be feasible to at least make all the update-rc.d
{xdm,gdm3,lightdm,etc.} emit a warning that this doesn't work when using
systemd, and systemctl disable display-manager should be used instead?
Otherwise I'm afraid we'll again get angry users.

Samuel



More information about the pkg-gnome-maintainers mailing list