Re: Exploring Minimal Systemd in Initramfs for Faster Boot

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

 



On Mon, Sep 30, 2024 at 4:35 AM Lennart Poettering
<lennart@xxxxxxxxxxxxxx> wrote:
> While we do support binaries that stay running from the initrd, it's
> typically something I'd suggest people to avoid, and if they do it
> anyway, then at least only for a short time (i.e. terminate once boot
> is complete or so)

In case anyone is interested, I have an example program that starts a
minimal service in the initrd, passes its current state (and the
listening socket) to the main process that's started from the root
filesystem, and terminates the original process that was started from
the initrd.

https://github.com/masneyb/early-service-example

Brian





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

  Powered by Linux