Skip to content

Update LightDM from 1.28.0 to 1.30.0 and improve service unit #1692

Merged
merged 5 commits into from
Feb 12, 2020

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Feb 11, 2020

Tested on hypnotoad.

Without specifying the ordering in regards to `startup-tags.service` it
is not guaranteed, that `/node/tags/` has been populated yet, and we
have observed a non-starting LightDM on desktop systems in practice. So,
order the service unit correctly.
From manual page systemd.exec(5):

> StandardOutput=
>     Controls where file descriptor 1 (STDOUT) of the executed processes is
>     connected to. Takes one of inherit, null, tty, journal, syslog, kmsg,
>     journal+console, syslog+console, kmsg+console, file:path, append:path, socket
>     or fd:name.
>
> […]
>
>     syslog connects standard output to the syslog(3) system syslog service, in
>     addition to the journal. Note that the journal daemon is usually configured to
>     forward everything it receives to syslog anyway, in which case this option is
>     no different from journal.

So remove the configuration.
Do it [as Debian does it]
(https://github.com/canonical/lightdm/blob/ff1c38c0616b3df66a5002ed7f531d53f218dfab/debian/lightdm.service).

From manual page systemd.service(5):

> BusName=
>     Takes a D-Bus bus name that this service is reachable as. This option is
>     mandatory for services where Type= is set to dbus.
@pmenzel pmenzel force-pushed the update-lightdm-from-1.28.0-to-1.30.0 branch from 3aa9b8d to 24bbe14 Compare February 11, 2020 16:30
@pmenzel pmenzel merged commit e528ab5 into master Feb 12, 2020
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant