initramfs need to mount efivarfs because kernel 6.0 deprecated 'efivars' sysfs interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Cyrus Lien | ||
mdadm (Debian) |
Fix Released
|
Unknown
|
|||
mdadm (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
Kinetic |
Fix Released
|
High
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
kernel 6.0 deprecated efivars sysfs interface [1]. For Intel VROC RAID, mdadm needs initramfs to mount efivarfs instead.
[1] The commit:
commit 0f5b2c69a4cbe41
Author: Ard Biesheuvel <email address hidden>
Date: Mon Jun 20 13:34:03 2022 +0200
efi: vars: Remove deprecated 'efivars' sysfs interface
[ Test Plan ]
1. Install mdadm (4.2-0ubuntu2) from -proposed.
2. Adding test script init-top/
3. Adding test script init-bottom/
3. update-initramfs -u
4. Append "debug" to GRUB_CMDLINE_
5. Reboot and check /var/run/
[Test script] 01_check_mount and zz_check_mount are identical.
#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
echo "$(mount)"
[ Where problems could occur ]
Not sure if there any other tools/utilities also need to mount efivarfs as early as mdadm but the probability of file conflict should be very low.
Also, there are no impact mounting efivarfs multiple times.
mount: /sys/firmware/
[ Scope ]
Jammy, Kinetic, Lunar, Mantic
[ Other Info ]
The private bug link https:/
Changed in oem-priority: | |
assignee: | nobody → Cyrus Lien (cyruslien) |
importance: | Undecided → Critical |
status: | New → Confirmed |
tags: | added: oem-priority |
Changed in mdadm (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
Changed in mdadm (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in mdadm (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in mdadm (Debian): | |
status: | Unknown → New |
Changed in mdadm (Debian): | |
status: | New → Fix Released |
Changed in oem-priority: | |
status: | Invalid → In Progress |
Changed in mdadm (Ubuntu): | |
status: | Triaged → In Progress |
Changed in mdadm (Ubuntu Jammy): | |
status: | Triaged → In Progress |
Changed in mdadm (Ubuntu Kinetic): | |
status: | Triaged → In Progress |
description: | updated |
Changed in oem-priority: | |
status: | In Progress → Fix Released |
The attachment "mdadm_ 4.2-0ubuntu2. debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]