[systemd-devel] How to debug why a unit is started when?

Paul Menzel pmenzel+systemd-devel at molgen.mpg.de
Fri Mar 16 15:49:28 UTC 2018


Dear systemd folks,


I am trying to get the GDM login screen started earlier on a Dell XPS 13 
9370 with Debian Sid/unstable system with systemd 238. Currently, after 
selecting the Linux kernel in GRUB it’s only displayed after roughly 
eight to ten seconds while Linux takes around two seconds [1].

Using systemd-bootchart I see that GDM is started quite late [1], and I 
wondering if there is an option to find out why.

GDM’s service unit [2] has the “dependencies” below.

     After=rc-local.service plymouth-start.service 
systemd-user-sessions.service

Is there a debug option, where systemd says, why a certain unit is 
started? For example, reached target X and therefore starting Y.


Kind regards,

Paul


[1] https://bugzilla.gnome.org/show_bug.cgi?id=794336
[2] https://git.gnome.org/browse/gdm/tree/data/gdm.service.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5174 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180316/30cfd9e7/attachment.bin>


More information about the systemd-devel mailing list