From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Pribyl Subject: Re: Advice needed on gcc error Date: Sun, 23 Nov 2014 21:55:39 +0100 (CET) Message-ID: 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="-1463811484-1427780261-1416776139=:26870" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XseC9-0000TX-QR for guix-devel@gnu.org; Sun, 23 Nov 2014 15:55:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XseC5-0005mj-9R for guix-devel@gnu.org; Sun, 23 Nov 2014 15:55:45 -0500 Received: from sandbox.cz ([87.236.197.188]:42048 helo=mx.sandbox.cz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XseC4-0005me-Qd for guix-devel@gnu.org; Sun, 23 Nov 2014 15:55:41 -0500 Received: from localhost (localhost [127.0.0.1]) by sandbox.cz (Postfix) with ESMTP id BF60838149 for ; Sun, 23 Nov 2014 21:55:39 +0100 (CET) In-Reply-To: <87h9xp651d.fsf@gnu.org> 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: guix-devel@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811484-1427780261-1416776139=:26870 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On Sun, 23 Nov 2014, Ludovic Court=C3=A8s wrote: > Adam Pribyl skribis: > >> Great, this is it! I had >> (services (cons (dhcp-client-service) >> %base-services)) >> (services (cons (lsh-service #:port-number 22 #:root-login? #t) >> %base-services)) > > Oh, OK. Ideally an error would be raised in such a case. Did not noticed any... guix system reconfigure just finished OK. >> Just for the lsh - by default it expects a key under >> /etc/lsh_host_key, while this service definition changes it to >> /etc/ls/host-key. > > OK. Perhaps this should be mentioned in the manual? /etc/lsh/host-key Well it is mostly there as there is and option [#:host-key "/etc/lsh/host-key"] Just when one tries to start lshd manually it first prints it needs=20 the yarrow seed, then host key in proper location etc. Host key location=20 is different. 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 exampl= e=20 as e.g. starting lsh-service without [#:initialize? #f] for the first=20 time makes no sense. Also it could be present in the config template in=20 the distribution itself. This would help most of us not very familiar with all the details to do a= =20 fluent installation. > Ludo=E2=80=99. Regards Adam Pribyl ---1463811484-1427780261-1416776139=:26870--