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: pgpCGJyupwqr8.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to