Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error messages showed when in systemd-boot #20

Open
aplanas opened this issue Aug 14, 2024 · 3 comments
Open

Error messages showed when in systemd-boot #20

aplanas opened this issue Aug 14, 2024 · 3 comments

Comments

@aplanas
Copy link

aplanas commented Aug 14, 2024

When dracut is generated, this is presented:

dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: health-checker ***
dracut-install: ERROR: installing 'grub2-editenv'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.IEcUqm/initramfs -a date btrfs awk grub2-editenv
dracut[I]: *** Including module: pcr-signature ***

But a new initrd is generated

@laenion
Copy link
Contributor

laenion commented Aug 14, 2024

I guess this is specific to systems using sdboot instead of GRUB2.

The module-setup.sh rule will have to be adjusted to ignore grub2-editenv on non-GRUB2 systems.

@thkukuk
Copy link
Contributor

thkukuk commented Aug 14, 2024 via email

@Vogtinator
Copy link
Member

Yeah, currently health-checker will not work to any extent with sdbootutil, not even the simplest case of rollback due to service failure (it uses btrfs subvol set-default instead of snapper rollback or t-u rollback).

My suggestion for now is to not install health-checker with sdbootutil or ignore the errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants