On Wed, Jan 13, 2021 at 10:16:43AM +0000, Richard W.M. Jones wrote:
Sorry for this rather ill-defined bug report, but I'm hoping someone will recognize the symptoms or at least suggest a way to debug this.
Ever since Fedora 33 was released we've been unable to produce a working virt-builder template. The template that we have made fails at switch root.
template: https://builder.libguestfs.org/fedora-33.xz bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1911177
An additional problem is I cannot find any way to debug the problem.
In this image, initrd-switch-root.service fails because "/sysroot does not contain /etc/os-release". This is visible when you boot with "systemd.log_level=debug systemd.journald.forward_to_console=1" as described on https://freedesktop.org/wiki/Software/systemd/Debugging/
Something (systemd? dracut?) asks for a root password in order to get to the emergency shell, and I can find no way around this nor any password which works. I wish there was a "stop asking for a password" option on the kernel command line.
This one is weird. I tried "rd.shell" and "rd.break", which should just drop to dracut shell, but it didn't work.
BTW, partition setup looks weird, too. vda1 is 1MB empty partition, then vda2 is /boot and vda3 is rootfs. Is this how we organise disks by default?