[Bug 2084809] Re: update-initramfs fails when booted with dracut initrd
Benjamin Drung
2084809 at bugs.launchpad.net
Fri Oct 18 09:46:02 UTC 2024
Submitted fix upstream: https://github.com/dracut-ng/dracut-ng/pull/746
** Package changed: initramfs-tools (Ubuntu) => dracut (Ubuntu)
** Changed in: dracut (Ubuntu)
Importance: Undecided => High
** Changed in: dracut (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dracut in Ubuntu.
Matching subscriptions: dracut
https://bugs.launchpad.net/bugs/2084809
Title:
update-initramfs fails when booted with dracut initrd
Status in dracut package in Ubuntu:
In Progress
Bug description:
I created an initrd with dracut and successfully booted with it, but
generating an initrd fails then:
```
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic
cryptsetup: WARNING: target 'luks-e1446dc1-f3d2-445f-96aa-09245ebe7bd5' not
found in /etc/crypttab
W: Couldn't identify type of root file system '/dev/mapper/system_crypt' for fsck hook
```
Booted with an initrd from initramfs-tools:
```
$ mount | grep system_crypt | grep -v snap
/dev/mapper/system_crypt on / type ext4 (rw,relatime,discard,errors=remount-ro)
```
Booted with an initrd from dracut:
```
$ mount | grep " / "
/dev/mapper/luks-e1446dc1-f3d2-445f-96aa-09245ebe7bd5 on / type ext4 (rw,relatime,errors=remount-ro)
```
ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: initramfs-tools 0.142ubuntu34
ProcVersionSignature: Ubuntu 6.11.0-8.8-generic 6.11.0
Uname: Linux 6.11.0-8-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.30.0-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 17 15:14:42 2024
InstallationDate: Installed on 2022-03-09 (953 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to oracular on 2024-05-02 (168 days ago)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2024-09-11T14:06:08.605603
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2084809/+subscriptions
More information about the foundations-bugs
mailing list