[2018-11-16 18:55] Martin Pitt <mp...@debian.org> > Not sure what "getty-run" is, but indeed I don't get a TTY. But I don't even > get that far. This is my current experience: > > * Standard vmdebootstrap install of sid. > * Install runit-init, "do as I say!", reboot (that works) > * Boot does that: > [...] > And from here on, nothing. I can't log in through sshd, and there's no VT > either.
Okay, let us debug. $ sudo vmdebootstrap --image debian-838480.img --size 15G --distribution sid Warning: The image may fail to boot with ext4 and extlinux unless vmdebootstrap is running on Jessie. Use grub or ext3 and see the docs. $ sudo chown $USER:$USER debian-838480.img $ /usr/share/vmdebootstrap/qemu-wrapper.sh debian-838480.img amd64 VNC server running on ::1:5900 ## Now I get on VM 'Booting from Hard Disk...', things do not move ## further. I believe here I hit this warning. I do not have Jessie box. So let me go another way. I will make fresh installation. $ qemu-img create -fqcow2 img/debian-838480.qcow2 15G Formatting 'debian-838480.qcow2', fmt=qcow2 size=16106127360 cluster_size=65536 lazy_refco unts=off refcount_bits=16 $ qemu-system-x86_64 -m256 -enable-kvm -hda img/debian-838480.qcow2 \ -cdrom iso/debian-9.5.0-amd 64-netinst.iso ## The most basic installation. Guided partition, no seperate ## partitions for /home,/var/,/tmp ## ## Only "standard system utilities" are installed. ## Now on virtual machine. # -- enable sid -- # apt-get update # apt-get dist-upgrade # apt-get install runit-init=2.1.2-18 # reboot `dbus' starts slowly, otherwise things are fine. After some stracing, I discovered that dbus was trying to recvmsg(1) from /run/dbus/system_bus_socket. Resource was not available, so dbus tried to poll with 90 sec timeout. After purging `systemd', this issue with dbus is gone. I think somewhere `dbus' makes wrong assumption, `systemd' is installed => `systemd' is init system So far, I still insist on adding `runit-init' into Pre-Depends of `init'. I works for me, it works for bug reporters of src:runit, and it would be great for it to have better visibility.