all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix system: error: service 'ssh-daemon' requires 'networking', which is undefined
@ 2016-07-15 12:24 Jan Synáček
  2016-07-15 15:05 ` Alex Kost
  0 siblings, 1 reply; 19+ messages in thread
From: Jan Synáček @ 2016-07-15 12:24 UTC (permalink / raw)
  To: guix-devel

Hello,

I'm trying to create a testing vm with sshd inside. My config:

(use-modules (gnu))
(use-modules (gnu services ssh))

(operating-system
  (host-name "guix-vm")
  (timezone "Europe/Prague")
  (locale "en_US.UTF-8")

  (bootloader (grub-configuration (device "/dev/sda")))
  (file-systems (cons (file-system
                        (device "my-root")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  (users (cons (user-account
                (name "jsynacek")
                (group "users")
                (supplementary-groups '("wheel"))
                (home-directory "/home/jsynacek"))
               %base-user-accounts))

  ;;(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', which
is undefined

What am I missing? The error message is extremely unhelpful for
someone who doesn't know what it actually means.

Cheers,
-- 
Jan Synáček

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined
@ 2016-07-15 12:39 David Craven
  2016-07-15 12:58 ` Jan Synáček
  2016-07-15 16:50 ` Ludovic Courtès
  0 siblings, 2 replies; 19+ messages in thread
From: David Craven @ 2016-07-15 12:39 UTC (permalink / raw)
  To: guix-devel, jan.synacek

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-07-21 16:10 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-15 12:24 guix system: error: service 'ssh-daemon' requires 'networking', which is undefined Jan Synáček
2016-07-15 15:05 ` Alex Kost
  -- strict thread matches above, loose matches on Subject: below --
2016-07-15 12:39 David Craven
2016-07-15 12:58 ` Jan Synáček
2016-07-15 14:27   ` Vincent Legoll
2016-07-17  6:50     ` Jan Synáček
2016-07-15 16:50 ` Ludovic Courtès
2016-07-15 18:04   ` Tobias Geerinckx-Rice
2016-07-19 12:43     ` Ludovic Courtès
2016-07-21  6:30       ` Jan Synáček
2016-07-21  8:48         ` Vincent Legoll
2016-07-21 12:54           ` Ludovic Courtès
2016-07-21 13:00         ` Ludovic Courtès
2016-07-21 13:35           ` Vincent Legoll
2016-07-21 13:57             ` Jan Synáček
2016-07-21 14:39               ` Thompson, David
2016-07-21 15:35                 ` Andy Wingo
2016-07-21 16:10                   ` Ludovic Courtès
2016-07-21 13:36           ` Jan Synáček

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.