Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Ludovic Courtès
Andy Wingo skribis: > On Thu 21 Jul 2016 16:39, "Thompson, David" writes: > >> On Thu, Jul 21, 2016 at 9:57 AM, Jan Synáček wrote: >>> On Thu, Jul 21, 2016 at 3:35 PM, Vincent Legoll >>> wrote: Is there a simple command line that would list such services ? herd list --type=netwo

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Andy Wingo
On Thu 21 Jul 2016 16:39, "Thompson, David" writes: > On Thu, Jul 21, 2016 at 9:57 AM, Jan Synáček wrote: >> On Thu, Jul 21, 2016 at 3:35 PM, Vincent Legoll >> wrote: >>> Is there a simple command line that would list such services ? >>> >>> herd list --type=networking >>> >>> or something like

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Thompson, David
On Thu, Jul 21, 2016 at 9:57 AM, Jan Synáček wrote: > On Thu, Jul 21, 2016 at 3:35 PM, Vincent Legoll > wrote: >> Is there a simple command line that would list such services ? >> >> herd list --type=networking >> >> or something like that, that would make for the almost-perfect suggestion... > >

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Jan Synáček
On Thu, Jul 21, 2016 at 3:35 PM, Vincent Legoll wrote: > Is there a simple command line that would list such services ? > > herd list --type=networking > > or something like that, that would make for the almost-perfect suggestion... Yes! I'm glad we're saying the same, even though differently:)

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Jan Synáček
On Thu, Jul 21, 2016 at 3:00 PM, Ludovic Courtès wrote: > Jan Synáček skribis: > >> On Tue, Jul 19, 2016 at 2:43 PM, Ludovic Courtès wrote: >>> I improved the message along these lines in commit >>> 2c2ec261a8d3c37e5147038f47ad24c57cde4134, let me know what you think. >>> >>> To be more concrete

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Vincent Legoll
> Just to be clear, the message we now have is: > > service 'ssh-daemon' requires 'networking', which is not provided by any > service "which is currently not provided by any service" So that there's a hint that what the user has to search for is in the currently not activated services. Is th

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Ludovic Courtès
Jan Synáček skribis: > On Tue, Jul 19, 2016 at 2:43 PM, Ludovic Courtès wrote: >> I improved the message along these lines in commit >> 2c2ec261a8d3c37e5147038f47ad24c57cde4134, let me know what you think. >> >> To be more concrete about other improvements, here’s what should be >> feasible (but

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Ludovic Courtès
Vincent Legoll skribis: >> From a regular user's point of view, this still misses the point, >> which I originally attempted to make. I suggest an error message like >> this: >> >> 'ssh-daemon' requires 'networking', try adding >> 'static-networking-service' or 'dhcp-client-service' to system >>

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-21 Thread Vincent Legoll
> From a regular user's point of view, this still misses the point, > which I originally attempted to make. I suggest an error message like > this: > > 'ssh-daemon' requires 'networking', try adding > 'static-networking-service' or 'dhcp-client-service' to system > services > > Or something like th

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-20 Thread Jan Synáček
On Tue, Jul 19, 2016 at 2:43 PM, Ludovic Courtès wrote: > I improved the message along these lines in commit > 2c2ec261a8d3c37e5147038f47ad24c57cde4134, let me know what you think. > > To be more concrete about other improvements, here’s what should be > feasible (but needs to be discussed to see

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-19 Thread Ludovic Courtès
Tobias Geerinckx-Rice skribis: > On 2016-07-15 18:50, l...@gnu.org wrote: >> We could improve the error message by showing the location of the >> ‘ssh-daemon’ Shepherd service definition, though it may be better (but >> more difficult) to show the location of the instantiation of the >> correspon

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-16 Thread Jan Synáček
On Fri, Jul 15, 2016 at 4:27 PM, Vincent Legoll wrote: > Would a static-networking-service or wicd-service workaround that problem too > ? The static-networking-service does help as well. I haven't tried wicd-service, it seems to require a dbus service of some sort and is not really what I wante

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-15 Thread Tobias Geerinckx-Rice
On 2016-07-15 18:50, l...@gnu.org wrote: We could improve the error message by showing the location of the ‘ssh-daemon’ Shepherd service definition, though it may be better (but more difficult) to show the location of the instantiation of the corresponding service (the ‘(lsh-service)’ line in you

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-15 Thread Ludovic Courtès
David Craven skribis: >> What am I missing? The error message is extremely unhelpful for >> someone who doesn't know what it actually means. > > Try adding the dhcp-client-service. Indeed. The message is telling that the Shepherd service that provides ‘ssh-daemon’ also requires the ‘networking’

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-15 Thread Alex Kost
Jan Synáček (2016-07-15 15:24 +0300) wrote: > $ guix system vm guix-system-cfg.scm > guix system: error: service 'ssh-daemon' requires 'networking', which > is undefined > > What am I missing? The error message is extremely unhelpful for > someone who does

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-15 Thread Vincent Legoll
Would a static-networking-service or wicd-service workaround that problem too ? -- Vincent Legoll

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-15 Thread Jan Synáček
On Fri, Jul 15, 2016 at 2:39 PM, David Craven wrote: > Hi Jan, > >> What am I missing? The error message is extremely unhelpful for >> someone who doesn't know what it actually means. > > Try adding the dhcp-client-service. That worked, thank you! I guess it would be nice to improve the error mes

Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-15 Thread David Craven
Hi Jan, > What am I missing? The error message is extremely unhelpful for > someone who doesn't know what it actually means. Try adding the dhcp-client-service. Cheers David

guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-15 Thread Jan Synáček
;;(packages (%base-packages)) (services (cons* (lsh-service #:port-number 22 #:daemonic? #t #:root-login? #t) %base-services))) $ guix system vm guix-system-cfg.scm guix system: error: service 'ssh-daemon' requires 'networking&#x