Package: mdadm
Version: 4.2~rc2-6
Severity: normal
File: /usr/share/initramfs-tools/hooks/mdadm
Tags: patch

Dear Maintainer,

during boot I get a message about the "efivars" module not being found.
This happens during initramfs. While looking at:

/usr/share/initramfs-tools/hooks/mdadm

it seems the fix is simple enough:
---
--- /usr/share/initramfs-tools/hooks/mdadm.orig 2021-09-25 10:55:53.198883823
+0200
+++ /usr/share/initramfs-tools/hooks/mdadm      2021-09-24 22:45:33.090345701
+0200
@@ -66,7 +66,7 @@ for module in linear multipath raid0 rai
 done

 # load efivars for Intel RST IMSM, see Bug#962844
-force_load efivars || true
+force_load efivarfs || true

 # copy the mdadm configuration
 CONFIG=/etc/mdadm/mdadm.conf
---

Apparently, someone took the time do document when the change happened
(>=5.10.1-1~exp1):
https://michael-prokop.at/blog/2021/06/09/efivars-is-gone-with-debian-bullseye-
newinbullseye/

This would mean that this could be backported to bullseye maybe?


-- Package-specific info:

IMPORTANT:
  please do not forget to include all relevant system information with this
  bug report. You could run
    /usr/share/bug/mdadm/script 3>&1
  as root and attach or include the output.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, powerpc, mips, arm64

Kernel: Linux 5.15.0-rc2-wt+ (SMP w/8 CPU threads)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set 
LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mdadm depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  init-system-helpers    1.60
ii  libc6                  2.32-4
ii  libudev1               247.9-2
ii  lsb-base               11.1.0
ii  udev                   247.9-2

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.95~RC2-1
ii  kmod                                       29-1

Versions of packages mdadm suggests:
pn  dracut-core  <none>

-- Configuration Files:
/etc/logcheck/ignore.d.server/mdadm [Errno 13] Permission denied: 
'/etc/logcheck/ignore.d.server/mdadm'
/etc/logcheck/violations.d/mdadm [Errno 13] Permission denied: 
'/etc/logcheck/violations.d/mdadm'

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LC_CTYPE = "C.UTF-8",
        LANG = "en_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
  mdadm/autostart: true
  mdadm/initrdstart_msg_errmd:
  mdadm/start_daemon: true
  mdadm/mail_to: root
* mdadm/initrdstart: all
  mdadm/initrdstart_msg_errconf:
  mdadm/initrdstart_msg_errexist:
  mdadm/autoscan: true
  mdadm/autocheck: true
  mdadm/initrdstart_notinconf: false
  mdadm/initrdstart_msg_intro:
  mdadm/initrdstart_msg_errblock:

-- debsums errors found:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LC_CTYPE = "C.UTF-8",
        LANG = "en_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debsums: changed file /usr/share/initramfs-tools/hooks/mdadm (from mdadm 
package)
--- /usr/share/initramfs-tools/hooks/mdadm.orig 2021-09-25 10:55:53.198883823 
+0200
+++ /usr/share/initramfs-tools/hooks/mdadm      2021-09-24 22:45:33.090345701 
+0200
@@ -66,7 +66,7 @@ for module in linear multipath raid0 rai
 done
 
 # load efivars for Intel RST IMSM, see Bug#962844
-force_load efivars || true
+force_load efivarfs || true
 
 # copy the mdadm configuration
 CONFIG=/etc/mdadm/mdadm.conf

Reply via email to