unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30622: "Service ssh-daemon could not be started." in desktop VM image
@ 2018-02-26 23:34 George myglc2 Clemmer
  2018-02-26 23:58 ` Danny Milosavljevic
  2018-04-05 22:38 ` bug#30622: Status: " myglc2
  0 siblings, 2 replies; 7+ messages in thread
From: George myglc2 Clemmer @ 2018-02-26 23:34 UTC (permalink / raw)
  To: 30622

[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]

sshd fails to start in a desktop config (destop03.scm, attached)

The shepherd.log contains (full log attached) ...

g1@g1 ~/bug/sshtoXFCE/log$ grep could shepherd.log
2018-02-26 18:07:47 Service user-homes could not be started.
2018-02-26 18:07:48 Service term-auto could not be started.
2018-02-26 18:07:58 Service ssh-daemon could not be started.

I attempted to start it manually ...

root@desktop03 /gnu/store# sshd -D -f /gnu/store/ky9d1r3kj7yv6sbf8cjp23ym95lc5kss-sshd_config
sshd re-exec requires execution with an absolute path

root@desktop03 /gnu/store# sshd -d -f /gnu/store/ky9d1r3kj7yv6sbf8cjp23ym95lc5kss-sshd_config
sshd re-exec requires execution with an absolute path

root@desktop03 /gnu/store# cat /gnu/store/ky9d1r3kj7yv6sbf8cjp23ym95lc5kss-sshd_config
# Generated by 'openssh-service'.
Port 22
PermitRootLogin yes
PermitEmptyPasswords no
PasswordAuthentication yes
PubkeyAuthentication yes
X11Forwarding yes
PidFile /var/run/sshd.pid
ChallengeResponseAuthentication no
UsePAM yes
PrintLastLog yes
AuthorizedKeysFile  .ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/%u
Subsystem	sftp	internal-sftp
root@desktop03 /gnu/store# 

The vm was created by ...

guix system vm-image -M 4 -c 4 --image-size=5GB \
/home/g1/www/vm/vms/desktop03/desktop03.scm

... and run by ...

sudo qemu-system-x86_64 -name desktop03 -net \
tap,ifname=desktop03,script=/home/g1/www/vm/qemu-ifup,downscript=/home/g1/www/vm/qemu-ifdn \
-net nic,model=virtio,macaddr=DE:AD:BE:EF:3A:8E -enable-kvm -m 5120 -k \
en-us -vga qxl -spice addr=127.0.0.1,port=3001,disable-ticketing -device \
virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device \
virtserialport,chardev=vdagent,name=com.redhat.spice.0 -daemonize \
/home/g1/www/vm/vms/desktop03/vm.img

TIA - George


[-- Attachment #2: desktop03.scm --]
[-- Type: application/octet-stream, Size: 1554 bytes --]

;;; desktop desktop03 config
(use-modules (gnu))
(use-modules (gnu system nss))
(use-service-modules ssh) ; openssh-service-type
(use-service-modules spice)
(use-service-modules desktop)
(use-service-modules networking) ; dhcp-client-service
(use-package-modules
 base                  ; glibc-utf8-locales
 certs                 ; nss-certs
 emacs
 gnome                 ; gvfs
 linux                 ; mdadm
 screen
 ssh                   ; openssh mosh
 xorg
 )
(operating-system
  (host-name "desktop03")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  (bootloader (grub-configuration (target "/dev/sda")))
  (file-systems (cons (file-system
			(device "g1sd")
			(title 'label)
			(mount-point "/")
			(type "ext4"))
		      %base-file-systems))
  (users (cons*
	  (user-account
	   (name "g1")
	   (group "users")
	   (supplementary-groups '("wheel" "netdev"))
	   (home-directory "/home/g1"))
	  %base-user-accounts))
  (packages
   (cons*
    emacs-no-x-toolkit
    emacs-guix
    gvfs              ;for user mounts
    nss-certs         ;for HTTPS access
    openssh
    screen
    xauth
    %base-packages))
  (services (cons*
	     (service openssh-service-type
		      (openssh-configuration
		       (x11-forwarding? #t)
		       (permit-root-login #t)
		       (authorized-keys
			`(
			  ("g1" ,(local-file "glc.pub"))
			  ("al" ,(local-file "glc.pub"))
			  ("root" ,(local-file "glc.pub"))))))
	     (spice-vdagent-service)
	     (xfce-desktop-service)
	     %desktop-services))
  (name-service-switch %mdns-host-lookup-nss))

[-- Attachment #3: shepherd.log --]
[-- Type: application/octet-stream, Size: 3324 bytes --]

2018-02-26 18:07:46 Service root has been started.
2018-02-26 18:07:46 starting services...
2018-02-26 18:07:46 Service root-file-system has been started.
2018-02-26 18:07:46 Service user-file-systems has been started.
2018-02-26 18:07:46 Service file-system-/dev/pts has been started.
2018-02-26 18:07:46 Service file-system-/dev/shm has been started.
2018-02-26 18:07:46 Service file-system-/gnu/store has been started.
2018-02-26 18:07:46 Service file-system-/run/systemd has been started.
2018-02-26 18:07:46 Service file-system-/run/user has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/elogind has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/cpuset has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/cpu has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/cpuacct has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/memory has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/devices has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/freezer has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/blkio has been started.
2018-02-26 18:07:46 Service file-system-/sys/fs/cgroup/perf_event has been started.
2018-02-26 18:07:46 Service file-systems has been started.
2018-02-26 18:07:46 waiting for udevd...
2018-02-26 18:07:47 Service udev has been started.
2018-02-26 18:07:47 Service urandom-seed has been started.
2018-02-26 18:07:47 Service user-processes has been started.
2018-02-26 18:07:47 Service host-name has been started.
2018-02-26 18:07:47 Service user-homes could not be started.
2018-02-26 18:07:48 Service nscd has been started.
2018-02-26 18:07:48 Service guix-daemon has been started.
2018-02-26 18:07:48 Service syslogd has been started.
2018-02-26 18:07:48 Service loopback has been started.
2018-02-26 18:07:48 Service term-tty6 has been started.
2018-02-26 18:07:48 Service term-tty5 has been started.
2018-02-26 18:07:48 Service term-tty4 has been started.
2018-02-26 18:07:48 Service term-tty3 has been started.
2018-02-26 18:07:48 Service term-tty2 has been started.
2018-02-26 18:07:48 Service term-tty1 has been started.
2018-02-26 18:07:48 Service term-auto could not be started.
2018-02-26 18:07:48 Service console-font-tty1 has been started.
2018-02-26 18:07:48 Service console-font-tty2 has been started.
2018-02-26 18:07:48 Service console-font-tty3 has been started.
2018-02-26 18:07:48 Service console-font-tty4 has been started.
2018-02-26 18:07:48 Service console-font-tty5 has been started.
2018-02-26 18:07:48 Service console-font-tty6 has been started.
2018-02-26 18:07:50 Service dbus-system has been started.
2018-02-26 18:07:52 Service wpa-supplicant has been started.
2018-02-26 18:07:52 Service networking has been started.
2018-02-26 18:07:52 Service ntpd has been started.
2018-02-26 18:07:52 Service elogind has been started.
2018-02-26 18:07:52 Service upower-daemon has been started.
2018-02-26 18:07:53 Service avahi-daemon has been started.
2018-02-26 18:07:53 Service xorg-server has been started.
2018-02-26 18:07:53 Service spice-vdagentd has been started.
2018-02-26 18:07:58 Service ssh-daemon could not be started.

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

end of thread, other threads:[~2018-04-06 17:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-26 23:34 bug#30622: "Service ssh-daemon could not be started." in desktop VM image George myglc2 Clemmer
2018-02-26 23:58 ` Danny Milosavljevic
2018-02-27  0:07   ` George myglc2 Clemmer
2018-04-05 22:38 ` bug#30622: Status: " myglc2
2018-04-06  8:06   ` Ludovic Courtès
2018-04-06  9:06   ` Chris Marusich
2018-04-06 17:18     ` myglc2

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).