guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lsh-service definition in documentation


From: Adam Pribyl
Subject: Re: lsh-service definition in documentation
Date: Fri, 21 Nov 2014 20:12:39 +0100 (CET)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]