My “stage1 update failure” report did not inspire much, but I suspect it is the root of my stage2 woes below, which seem to warrant their own topic.
What’s holding me right now is that “qubes-dist-upgrade --template-standalone-upgrade”
installs a qrexec-agent that fails to start (as described here).
strace reports /dev/xen/evtchn not sending data when expecting for it:
26022 openat(AT_FDCWD, "/dev/xen/evtchn", O_RDWR|O_CLOEXEC) = 4
26022 ioctl(4, IOCTL_EVTCHN_BIND_UNBOUND_PORT, 0x7ffd0f540504) = 24
26022 write(4, "\30\0\0\0", 4) = 4
...
26022 openat(AT_FDCWD, "/dev/xen/privcmd", O_RDWR|O_CLOEXEC) = 5
26022 openat(AT_FDCWD, "/dev/xen/hypercall", O_RDWR|O_CLOEXEC) = 6
26022 openat(AT_FDCWD, "/dev/xen/privcmd", O_RDWR|O_CLOEXEC) = 7
26022 ioctl(7, _IOC(_IOC_NONE, 0x50, 0xff, 0), 0) = -1 ENOTTY (Inappropriate ioctl for device)
26022 openat(AT_FDCWD, "/dev/xen/privcmd", O_RDWR|O_CLOEXEC) = 8
26022 openat(AT_FDCWD, "/dev/xen/hypercall", O_RDWR|O_CLOEXEC) = 9
26022 openat(AT_FDCWD, "/dev/xen/privcmd", O_RDWR|O_CLOEXEC) = 10
26022 ioctl(10, _IOC(_IOC_NONE, 0x50, 0x5, 0x10), 0x7ffd0f540110) = 0
26022 read(4,
I still wonder what went wrong in dom0 on stage1, but I guess some
critical service has gone missing, and maybe was not health-checked
afterwards ?