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...
-----BEGIN PGP SIGNATURE-----
Comment: Exmh version 2.8.0 04/21/2017
iQEVAwUBWdIdSI0DS38y7CIcAQKdrQf+IVwqDMppJ8BjTABf6WGn90PNwcSjTQqK JENb/bHbNgd6JRGt91JBsw3B2odaZcTGmLH4tiAL2xPEwh+ziVNGrd/3drNEKqXT IRwuAHMXCzSXKOyEOZd6hDSXoEYFz5HCvVrw0lTGrpBKoimX9JTRJ8bFAcxWUUbD /B+w3UtvhJlsrwdTkl8mImFn4OljjcJzWAojTSb64ZkbXh7Gh7ITGS9xltNFiU1E 59W++vo0qb/3zBzTYviXXuz0yoIQmo9w010lBSk5zCrTXu5L0FTKntSRLT1Fv7W9 vETXCmGY65ekV+9N8yx5L/mJWEVnLlMLv5MBiLPN6k7oQSUHQbWYHg==
=jXCI
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)