From: ludo@gnu.org (Ludovic Courtès)
To: Adam Pribyl <pribyl@lowlevel.cz>
Cc: guix-devel@gnu.org
Subject: Re: lsh-service definition in documentation
Date: Fri, 21 Nov 2014 22:54:43 +0100 [thread overview]
Message-ID: <87a93kp6cc.fsf@gnu.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1411211938180.16791@sandbox.cz> (Adam Pribyl's message of "Fri, 21 Nov 2014 20:12:39 +0100 (CET)")
Adam Pribyl <pribyl@lowlevel.cz> 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-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)
Oops, I’ve 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’s wrong with DHCP? ‘deco status networking’ should
give you the PID of the DHCP client; from there, could you type “cat
/proc/THE-PID-OF-DHCP/cmdline” and check the list of networking
interfaces that are passed as arguments?
Also, does “deco restart networking” help?
Thanks,
Ludo’.
next prev parent reply other threads:[~2014-11-21 21:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 18:17 lsh-service definition in documentation Adam Pribyl
2014-11-21 19:12 ` Adam Pribyl
2014-11-21 21:54 ` Ludovic Courtès [this message]
2014-11-21 22:22 ` Adam Pribyl
2014-11-21 22:48 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a93kp6cc.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=pribyl@lowlevel.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.