openSUSE / health-checker

Systemd service to check, if the system does come up correct after an update
GNU General Public License v2.0
25 stars 11 forks source link

Error messages showed when in systemd-boot #20

Open aplanas opened 3 months ago

aplanas commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

We need a complete new health-checker design, Danilo is on it.

Ignaz Forster @.***> schrieb am Mi., 14. Aug. 2024, 17:08:

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.

— Reply to this email directly, view it on GitHub https://github.com/openSUSE/health-checker/issues/20#issuecomment-2289072053, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNCMMDVFMXLQ3GF2AQG2ADZRNXHXAVCNFSM6AAAAABMQRM5HWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBZGA3TEMBVGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Vogtinator commented 2 months ago

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.