initramfs need to mount efivarfs because kernel 6.0 deprecated 'efivars' sysfs interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Invalid
|
Critical
|
Cyrus Lien | ||
initramfs-tools (Debian) |
Fix Released
|
Unknown
|
|||
initramfs-tools (Ubuntu) |
New
|
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 initramfs-tools
2. update-initramfs -u
3. unmkinitramfs initrd.img-`uname -r` /tmp/extract-
4. Check if boot script 00_mount_efivarfs exists in directory /tmp/extract-
5. Check /tmp/extract-
[ 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
[ Other Info ]
The private bug link https:/
debian MR:
https:/
Changed in oem-priority: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Cyrus Lien (cyruslien) |
Changed in initramfs-tools (Debian): | |
status: | Unknown → New |
tags: | added: foundations-todo |
Changed in oem-priority: | |
status: | Confirmed → In Progress |
Changed in initramfs-tools (Debian): | |
status: | New → Fix Released |
Canonical will need to carry this patch as a Ubuntu sauce for Jammy, in order to support Intel VMD in 22.04 (jammy) with linux-oem 6.0+ kernel.