From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: lsh-service definition in documentation Date: Fri, 21 Nov 2014 22:54:43 +0100 Message-ID: <87a93kp6cc.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrwAG-0001Kg-4S for guix-devel@gnu.org; Fri, 21 Nov 2014 16:54:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrwAB-0003FD-FA for guix-devel@gnu.org; Fri, 21 Nov 2014 16:54:52 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:36010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrwAB-0003F3-97 for guix-devel@gnu.org; Fri, 21 Nov 2014 16:54:47 -0500 In-Reply-To: (Adam Pribyl's message of "Fri, 21 Nov 2014 20:12: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 Adam Pribyl skribis: > On Fri, 21 Nov 2014, Adam Pribyl wrote: > >> I am not sure if the doc is wrong or it has changed in the guix but >> the definition of lsh service as it is at >> http://www.gnu.org/software/guix/manual/html_node/Using-the-Configuratio= n-System.html#Using-the-Configuration-System >> >> (services (cons (lsh-service #:port 2222 #:allow-root-login? #t) >> %base-services))) >> >> is wrong, there should be >> >> (services (cons (lsh-service #:port-number 2222 #:root-login? #t) >> %base-services))) >> >> >> at least this is how it works for me and conforms to: >> http://www.gnu.org/software/guix/manual/html_node/Networking-Services.ht= ml#Networking-Services > > And the chapter > http://www.gnu.org/software/guix/manual/html_node/Networking-Services.htm= l#Networking-Services > defines networking and ssh modules under "system" but they are under > "service". > I.e not > (gnu system networking) > but > (gnu service networking) Oops, I=E2=80=99ve now fixed both. > nevertheles, defining dhcp-client-service does not provide a > networking anyway, so ssh-daemon (lshd) service is not working. Could you check what=E2=80=99s wrong with DHCP? =E2=80=98deco status netwo= rking=E2=80=99 should give you the PID of the DHCP client; from there, could you type =E2=80=9Ccat /proc/THE-PID-OF-DHCP/cmdline=E2=80=9D and check the list of networking interfaces that are passed as arguments? Also, does =E2=80=9Cdeco restart networking=E2=80=9D help? Thanks, Ludo=E2=80=99.