Re: systemd startup

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

 



Note that if systemd is running in the initramfs too, then journal logs
from the current boot will contain initramfs logs too.

W dniu 22.11.2019 o 16:25, Mantas Mikulėnas pisze:
> On Fri, Nov 22, 2019 at 5:18 PM Boyce, Kevin P [US] (AS)
> <Kevin.Boyce@xxxxxxx <mailto:Kevin.Boyce@xxxxxxx>> wrote:
> 
>     Good Morning list,____
> 
>     __ __
> 
>     Does anyone know if there is a way to print out as much of the
>     startup ordering of all systemd units including what happens in the
>     initramfs before the pivot_root happens?____
> 
>     __ __
> 
>     I just want to be able to grep the output for two units I am
>     interested in to know that one is indeed starting before the other. 
>     I’ve looked at the systemd-analyze plot but this is a large svg file
>     that is hard to parse.  Systemctl list-dependencies comes close, but
>     is missing the initramfs.
> 
> 
> Initramfs and rootfs are two fully independent systemd environments, no
> matter which tool you use to inspect them. You can use `systemctl
> list-dependencies` from within the initramfs as well, if you boot with
> the "rd.break" kernel option which will provide an interactive shell in
> the initramfs environment before pivot happens.
> 
> Note that `systemd-analyze plot` accepts --from-pattern and --to-pattern
> to limit the units that will be shown.
> 
> -- 
> Mantas Mikulėnas
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

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

  Powered by Linux