On Tue, Mar 1, 2022 at 3:24 PM Justin Forbes <jmfor...@linuxtx.org> wrote:

> I am surprised that the rescue kernel would give an indefinite hang or
> even just a dracut prompt within a release.

The latter case is trivially reproducible on UEFI, with the failure
being that mounting /boot/efi comes *after* switchroot. After
switchroot the vfat module in the initramfs is not available, and the
rootfs lacks matching /usr/lib/modules, therefore it's also not
available. And thus mount fails and thus dracut shell.

A possible simple work around is having the installer add "nofail"
mount option to /boot/efi which raises the potential problem that it
fails to mount for $REASON, and thus silently isn't getting bootloader
updates. I guess that's better than always getting a dracut prompt?

Also more reliable would be if the rescue boot entry uses
systemd.whateverisolate=multiuser.target to make sure (a) consistency
no matter the existence of /usr/lib/modules (b) we don't get hung up
somehow loading the graphical environment possibly needing things in
/usr/lib/modules that aren't available.

-- 
Chris Murphy
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to