Re: How to verify linux-next
From: valdis . kletnieks
Date: Mon Oct 02 2017 - 07:04:57 EST
On Mon, 02 Oct 2017 10:11:34 +0200, Kamil Konieczny said:
> What about /usr/bin/ssh as init replacement ?
Well, if you are OK with your system panicking right away. :)
(Hint - the init process needs to be something that can run as a daemon).
If you use /usr/sbin/sshd, that has a *slightly* better chance of working,
except then you will need a *lot* of custom coding in your initramfs to do all
the system setup usually done by init during boot - mounting file systems,
configuring network interfaces, etc etc etc. Plus, sshd probably doesn't have
some of the code needed for a true init process, such as reaping child
processes it didn't spawn itself, cleanly shutting down/rebooting, and so on...
Attachment:
pgp9JHx0W_N0P.pgp
Description: PGP signature