From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751130AbdJBLEv (ORCPT ); Mon, 2 Oct 2017 07:04:51 -0400 Received: from outbound.smtp.vt.edu ([198.82.183.121]:53110 "EHLO omr2.cc.vt.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750878AbdJBLEt (ORCPT ); Mon, 2 Oct 2017 07:04:49 -0400 X-Google-Smtp-Source: AOwi7QBBLOygiHgk/VPneM0UghhXGQeLE1Hy+BiDkTjynHD1s0BpnQRnqbwcTLhzTLxOo3Toq4FMxw== From: valdis.kletnieks@vt.edu X-Google-Original-From: Valdis.Kletnieks@vt.edu X-Mailer: exmh version 2.8.0 04/21/2017 with nmh-1.7+dev To: Kamil Konieczny Cc: Pintu Kumar , linux-kernel@vger.kernel.org, Damian Tometzki , kernelnewbies@kernelnewbies.org Subject: Re: How to verify linux-next In-Reply-To: References: <159555.1506688878@turing-police.cc.vt.edu> <1506690885.1771.6.camel@icloud.com> <10625.1506699956@turing-police.cc.vt.edu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1506942280_2261P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 02 Oct 2017 07:04:41 -0400 Message-ID: <214615.1506942281@turing-police.cc.vt.edu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --==_Exmh_1506942280_2261P Content-Type: text/plain; charset=us-ascii 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... --==_Exmh_1506942280_2261P Content-Type: application/pgp-signature -----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----- --==_Exmh_1506942280_2261P-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: valdis.kletnieks@vt.edu (valdis.kletnieks at vt.edu) Date: Mon, 02 Oct 2017 07:04:41 -0400 Subject: How to verify linux-next In-Reply-To: References: <159555.1506688878@turing-police.cc.vt.edu> <1506690885.1771.6.camel@icloud.com> <10625.1506699956@turing-police.cc.vt.edu> Message-ID: <214615.1506942281@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 486 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171002/5b25db4e/attachment.bin