Bug#769796: systemd: update-rc.d lightdm disable does not work
intrigeri
intrigeri at debian.org
Sun Nov 16 19:52:43 GMT 2014
Control: tag -1 + moreinfo
Hi Samuel,
Samuel Thibault wrote (16 Nov 2014 14:50:08 GMT) :
> I want to have lightdm installed on my system, but not automatically
> started at boot. To achieve that, I used
> update-rc.d lightdm disable
> but lightdm still gets started at boot.
I see that lightdm.postinst reads:
# set default-display-manager systemd service link according to our config
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" -a -d /etc/systemd/system/ ]; then
SERVICE=/lib/systemd/system/$(basename $(cat "$DEFAULT_DISPLAY_MANAGER_FILE")).service
if [ -e "$SERVICE" ]; then
ln -sf "$SERVICE" /etc/systemd/system/display-manager.service
else
echo "ERROR: $SERVICE is the selected default display manager but does not exist" >&2
fi
fi
... which leads me to think that as long as the default DM is lightdm,
even if one disables the lightdm service, a display-manager service is
set up and will start. If my guess is correct, then that's a bug in
lightdm (or in the display-manager logic, perhaps other DMs have the
same), not in systemd.
What's the output of these commands?
# systemctl status display-manager.service
# systemctl status lightdm.service
Cheers,
--
intrigeri
More information about the Pkg-systemd-maintainers
mailing list