From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Advice needed on gcc error Date: Mon, 24 Nov 2014 21:17:00 +0100 Message-ID: <87zjbg9ww3.fsf@gnu.org> References: <546E5DF6.6080007@alienscience.org.uk> <87r3ww9aev.fsf@gnu.org> <5470CD76.8070906@alienscience.org.uk> <87bnnzar1y.fsf@gnu.org> <87tx1qanw2.fsf@gnu.org> <87h9xp651d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt04K-0007kY-Gn for guix-devel@gnu.org; Mon, 24 Nov 2014 15:17:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xt04F-0005Mt-Rf for guix-devel@gnu.org; Mon, 24 Nov 2014 15:17:08 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:38654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt04F-0005Mp-CJ for guix-devel@gnu.org; Mon, 24 Nov 2014 15:17:03 -0500 In-Reply-To: (Adam Pribyl's message of "Sun, 23 Nov 2014 21:55:39 +0100 (CET)") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Adam Pribyl Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Adam Pribyl skribis: > I would suggest improving the > http://www.gnu.org/software/guix/manual/guix.html#Using-the-Configuration= -System > example and incorporating most of the options in the configuration > example as e.g. starting lsh-service without [#:initialize? #f] for > the first time makes no sense. Also it could be present in the config > template in the distribution itself. > > This would help most of us not very familiar with all the details to > do a fluent installation. I was uneasy having #:initialize? default to #t. That would work, but I=E2=80=99d rather have people create key handle that explicitly by themsel= ves, because it=E2=80=99s pretty sensitive, #:initialize? runs =E2=80=98lsh-make= -seed=E2=80=99 with --sloppy, which is not so great, and they might want to reuse existing keys, etc. To begin with, I=E2=80=99ve clarified the documention, with links to the lsh manual (patch below.) Thanks for the suggestion, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable commit aba747bda84d99fc7dc7b5ff40562217d6d304dc (HEAD, refs/heads/master) Author: Ludovic Court=C3=A8s Date: Mon Nov 24 21:15:40 2014 +0100 doc: Add xrefs to the lsh manual. =20=20=20=20 Suggested by Adam Pribyl . =20=20=20=20 * gnu/services/ssh.scm (lsh-service): Update docstring with xrefs to the lsh manual. Fix typos. * doc/guix.texi (Networking Services): Synchronize. Modified doc/guix.texi diff --git a/doc/guix.texi b/doc/guix.texi index a2f881f..3d49f7d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4033,12 +4033,17 @@ When @var{initialize?} is true, automatically creat= e the seed and host key upon service activation if they do not exist yet. This may take long and require interaction. =20 +When @var{initialize?} is false, it is up to the user to initialize the +randomness generator (@pxref{lsh-make-seed,,, lsh, LSH Manual}), and to cr= eate +a key pair with the private key stored in file @var{host-key} (@pxref{lshd +basics,,, lsh, LSH Manual}). + When @var{interfaces} is empty, lshd listens for connections on all the network interfaces; otherwise, @var{interfaces} must be a list of host nam= es or addresses. =20 -@var{allow-empty-passwords?} specifies whether to accepts log-ins with emp= ty -passwords, and @var{root-login?} specifies whether to accepts log-ins as +@var{allow-empty-passwords?} specifies whether to accept log-ins with empty +passwords, and @var{root-login?} specifies whether to accept log-ins as root. =20 The other options should be self-descriptive. Modified gnu/services/ssh.scm diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm index 5fc98e9..2b52c77 100644 --- a/gnu/services/ssh.scm +++ b/gnu/services/ssh.scm @@ -91,12 +91,17 @@ When @var{initialize?} is true, automatically create th= e seed and host key upon service activation if they do not exist yet. This may take long and require interaction. =20 +When @var{initialize?} is false, it is up to the user to initialize the +randomness generator (@pxref{lsh-make-seed,,, lsh, LSH Manual}), and to cr= eate +a key pair with the private key stored in file @var{host-key} (@pxref{lshd +basics,,, lsh, LSH Manual}). + When @var{interfaces} is empty, lshd listens for connections on all the network interfaces; otherwise, @var{interfaces} must be a list of host nam= es or addresses. =20 -@var{allow-empty-passwords?} specifies whether to accepts log-ins with emp= ty -passwords, and @var{root-login?} specifies whether to accepts log-ins as +@var{allow-empty-passwords?} specifies whether to accept log-ins with empty +passwords, and @var{root-login?} specifies whether to accept log-ins as root. =20 The other options should be self-descriptive." --=-=-=--