From debbugs-submit-bounces@debbugs.gnu.org Wed May 17 08:14:12 2017 Received: (at 26548) by debbugs.gnu.org; 17 May 2017 12:14:12 +0000 Received: from localhost ([127.0.0.1]:49666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAxqF-0003KR-QG for submit@debbugs.gnu.org; Wed, 17 May 2017 08:14:11 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:39125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAxqC-0003KI-QV for 26548@debbugs.gnu.org; Wed, 17 May 2017 08:14:10 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2B18920B5B; Wed, 17 May 2017 08:14:08 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 17 May 2017 08:14:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=Pvy6Yu75NQyEcqbqzmDG4UnYr0nNKQ0sK5QBg3ixD AY=; b=Tcc7GHGq2/tMdlNlAgnISQ1HDHAwU2ZoSgPuuXSIZ9ktPqs9w3G5PWrQo cEbau2VCF2H8kJheKXc8iHNHzuuLix8ncjNMeKVzN0rHrpNkjLOSNOER9Mb9kEno cLJANhcIxAmeXpPS26U9fkRxbGfcraW+ZR8j/I+IjG4Z1IbEC4pdfPphFyLLFWAP 9pf+g55lyC8OnzXSwWfmZlLqGdRstlNFwud+rRf6YpFGiCBhge5OUGV328SACkCL t47Zb6gHLTQGYlZ0pKCW/NtxNEENekHiQu9T8LwjQo03om8fyCdAyx1AeNXHEPiQ DtFR3xHJ9neT5ByP0w00sAo2Zjghw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=Pvy6Yu75NQyEcqbqzm DG4UnYr0nNKQ0sK5QBg3ixDAY=; b=Y5WhShzyeDfa0zn6sBDK0klmlP5KScFRAy cRfIGrTThv1n52d6tMwpP/nUCHZgu8vIiaI6GCN7f/+wFr7ZpSIJrj6HHQ+5waH9 9KnOqGkMWkmA71A3NwIJpgybKuyA8dKfd4U0UisvoSJ+ddkNDo5Qop4FDOvgpWpl up5npaRFYIQ8TKz7zFzJb2qrTd9msrff8eCzj1hmUgotXWkM7+ViuGtMe3NPwipb UAMviTGMRqyWdAL3bKk7ypaxcjtr3cPyfTdg0xF9fkFRdk2J4VIZjodT6icdGBFk GSpyzDG9vIalXKkFT/pPv1jFZ53dFrKh2PXgo9ipHAgAPCsAApwg== X-ME-Sender: X-Sasl-enc: LFv83n6/D+2+VUNbvRt81j6KmLBUGHZqovgv2lQKdKu+ 1495023247 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 67CA9240F6; Wed, 17 May 2017 08:14:07 -0400 (EDT) From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26548: [PATCH] install: Enable SSH in installation image. 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> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) 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" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26548 Cc: 26548@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= 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----- --=-=-=--