[systemd-devel] systemd startup
Michał Zegan
webczat_200 at poczta.onet.pl
Fri Nov 22 16:47:05 UTC 2019
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 at ngc.com <mailto:Kevin.Boyce at ngc.com>> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20191122/ea39fc5a/attachment.sig>
More information about the systemd-devel
mailing list