From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Pribyl Subject: Re: lsh-service definition in documentation Date: Fri, 21 Nov 2014 20:12:39 +0100 (CET) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrtdO-0001Ys-BP for guix-devel@gnu.org; Fri, 21 Nov 2014 14:12:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrtdJ-0002XW-HS for guix-devel@gnu.org; Fri, 21 Nov 2014 14:12:46 -0500 Received: from sandbox.cz ([87.236.197.188]:44932 helo=mx.sandbox.cz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrtdJ-0002Wj-Au for guix-devel@gnu.org; Fri, 21 Nov 2014 14:12:41 -0500 Received: from localhost (localhost [127.0.0.1]) by sandbox.cz (Postfix) with ESMTP id F2C9238465 for ; Fri, 21 Nov 2014 20:12:39 +0100 (CET) In-Reply-To: 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 Cc: guix-devel@gnu.org 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-Configuration-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.html#Networking-Services And the chapter http://www.gnu.org/software/guix/manual/html_node/Networking-Services.html#Networking-Services defines networking and ssh modules under "system" but they are under "service". I.e not (gnu system networking) but (gnu service networking) nevertheles, defining dhcp-client-service does not provide a networking anyway, so ssh-daemon (lshd) service is not working. > regards > > Adam Pribyl