Package: mdadm
Version: 4.2~rc2-7
Severity: normal

Dear Maintainer,

due to #962844 and #995093, /usr/share/initramfs-tools/hooks/mdadm does a
force_load efivarfs || true
which results on trying to load efivarfs on every boot. However, this
obviously does not work on a non-UEFI system and therefore there is ai very
prominent warning printet on the screen on every boot:
modprobe: ERROR: could not insert 'efivarfs': No such device

One idea might be to check whether /sys/firmware/efi exists and only doing the
force_load if it exists. That should be a huge improvement compared to the
current situation. Of course, it will fail when the user switches from a
non-UEFI system to a UEFI system. Using modprobe while redirecting modprobe's
stderr to /dev/null might be another option.

Kind regards
Patrick

Reply via email to