From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAxrb-0001SS-Vm for guix-patches@gnu.org; Wed, 17 May 2017 08:15:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAxr4-0007qu-T9 for guix-patches@gnu.org; Wed, 17 May 2017 08:15:35 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAxr4-0007qK-Ny for guix-patches@gnu.org; Wed, 17 May 2017 08:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dAxr4-0003Lh-8H for guix-patches@gnu.org; Wed, 17 May 2017 08:15:02 -0400 Subject: bug#26548: [PATCH] install: Enable SSH in installation image. Resent-Message-ID: From: Marius Bakke In-Reply-To: <8737ccsbha.fsf@gnu.org> References: <20170417213030.1489-1-mbakke@fastmail.com> <87inm2rtqa.fsf@gnu.org> <8760hby2u9.fsf@fastmail.com> <8737ccsbha.fsf@gnu.org> Date: Wed, 17 May 2017 14:14:05 +0200 Message-ID: <87ziebd6k2.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26548@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Marius Bakke skribis: > >> Ludovic Court=C3=A8s writes: > > [...] > >>> This is a problem: in the installation instructions, we tell people to >>> configure networking (possibly wireless) by hand, so we cannot expect >>> the DHCP client to work directly when the image is booted. >>> >>> Also, the installation instructions would need to be updated. >>> >>> However, what we could do, instead, is to add an SSH service that is off >>> by default (with (start? #f)) and does not depend on =E2=80=98networkin= g=E2=80=99. That >>> way, people would only need to type >>> >>> herd start ssh-daemon >>> >>> to get the thing up and running. WDYT? >> >> I've changed this patch to use OpenSSH, but can't really see how to >> override the openssh-shepherd-service to not depend on networking. Any >> hints? :-) > > Does it make sense in the first place to have it depend on =E2=80=98netwo= rking=E2=80=99? > Isn=E2=80=99t sshd able to adjust as new interfaces come up and down? You're right. I've tested this by starting "ssh-daemon" before configuring network interfaces on a live UEFI disk image. New patches incoming! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkcPo0ACgkQoqBt8qM6 VPoQ9Qf/WX+Trxhs+ZrgUMre+ThlqO1wXgzF8oWecx7mSDjkwJA2XX7lYqXwP6IK kXYOFcGe7Acq5piB7QUl+hTJFmCFt9GpLu2fsBSMeJWHsOnpfHmgqCcRVvfaLXw5 q7EfaS3W5iYtB7TFlP70SzyfXrUP84gaO5pfeP4GszWcXq3MNjCv9mNQuVCZiwKP BY+JIVAtF+PlrMU8dKQB6vn67gKNhKqR+uZd/7GychNuFHnM+c5JZtJBcSBKwvJf 73Y/CpwQMLK4LoGRz6EKNLM+rcz7M4hcD7XGcBMM3dsP6e/ZQKJSjrkTHV1kkT+u 5Btr5rNvw+cF6ENuq5urXyV4xo1BgQ== =IqC4 -----END PGP SIGNATURE----- --=-=-=--