This whole systemd thing is new to me, and I can't say I'm terribly
enamored of it, so I'm not the best person to ask. But by way of
example, I'll point out what a couple other .service files do:
/lib/systemd/system/rsyslog.service:
[Install]
WantedBy=multi-user.target
Alias=syslog.service
/lib/systemd/system/ssh.service:
[Install]
WantedBy=multi-user.target
Alias=sshd.service
I'm pretty sure the LightDM file should have "Alias=display-
manager.service", but can't say if "WantedBy" should be "multi-
user.target" or "graphical.target" or something else.
** Changed in: lightdm (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1584575
Title:
/lib/systemd/system/lightdm.service file has no [Install] clause
Status in lightdm package in Ubuntu:
New
Bug description:
This concerns lightdm 1.18.1-0ubuntu1 in Xenial.
The /lib/systemd/system/lightdm.service file lacks an [Install]
clause. Meaning, that if you do
# systemctl disable display-manager
to prevent LightDM from starting, running
# systemctl enable lightdm
does not restore the /etc/systemd/system/display-manager.service
symlink, and thus does not re-enable LightDM to run at the next boot
as intended.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1584575/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp