unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: George myglc2 Clemmer <myglc2@gmail.com>
To: 30622@debbugs.gnu.org
Subject: bug#30622: "Service ssh-daemon could not be started." in desktop VM image
Date: Mon, 26 Feb 2018 18:34:10 -0500	[thread overview]
Message-ID: <86sh9ntjf1.fsf@gmail.com> (raw)

[-- 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.

             reply	other threads:[~2018-02-26 23:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-26 23:34 George myglc2 Clemmer [this message]
2018-02-26 23:58 ` bug#30622: "Service ssh-daemon could not be started." in desktop VM image 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

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86sh9ntjf1.fsf@gmail.com \
    --to=myglc2@gmail.com \
    --cc=30622@debbugs.gnu.org \
    /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 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).