Re: Fedora 33 virt-install + ks has some problem switching root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

I would probably suggest to run an interactive anaconda install
that reasonably closely matches the options you desire. This
should give a working installed image that contains a corresponding
working /root/install.ks file.

Compare that to the ks virt-builder is using and bisect the differences.

> 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.
> 
> We use the same process to make these as we have always used, this
> kickstart:
> 
>   https://github.com/libguestfs/libguestfs/blob/master/builder/templates/fedora-33.ks

Have you tried removing the whole of the %post script there ? The main
ks rules that all look sane enough. It feels like that dracut invokation
in %post is most likely thing to be causing a problem. Or perhaps the
args to the 'bootloader' statement need an change in some manner ? 


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux