How to debug why a unit is started when?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



systemd-analyze critcal-chain gdm.service  should print the "wait 
critical chain" for your unit...i.e why it waited.

does that give you any usefull info ?

On 16/03/2018 16:49, Paul Menzel wrote:
> 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
>
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- 
SMILE <http://www.smile.eu/>

20 rue des Jardins
92600 Asnières-sur-Seine

	
*Jérémy ROSEN*
Architecte technique
Responsable de l'expertise Smile-ECS

email jeremy.rosen at smile.fr <mailto:jeremy.rosen at smile.fr>
phone +33141402967
url http://www.smile.eu

Twitter <https://twitter.com/GroupeSmile> Facebook 
<https://www.facebook.com/smileopensource> LinkedIn 
<https://www.linkedin.com/company/smile> Github 
<https://github.com/Smile-SA>


Découvrez lâ??univers Smile, rendez-vous sur smile.eu 
<http://smile.eu/?utm_source=signature&utm_medium=email&utm_campaign=signature>

eco Pour la planète, n'imprimez ce mail que si c'est nécessaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180319/b1308d0f/attachment.html>


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux