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

Paul Menzel pmenzel+systemd-devel at molgen.mpg.de
Sat Mar 17 14:40:53 UTC 2018


Dear Tomasz,


On 03/16/2018 04:56 PM, Tomasz Torcz 👁️ wrote:
> On Fri, Mar 16, 2018 at 04:49:28PM +0100, Paul Menzel wrote:

>> 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.
> 
>    Not a direct answer to your question, but you can use systemd-bootchart
> to get graphical timeline of how long did it take to start different
> units.  Then you will have to find box for GDM and see which other
> boxes ended at the moment GDM started.

Thank you for your reply, but as written, I tried that, and uploaded the 
chart to the GDM bug report. Unfortunately, I didn’t see any connection, 
that means, no box ended.


Kind regards,

Paul


More information about the systemd-devel mailing list