[Bug 2084809] [NEW] update-initramfs fails when booted with dracut initrd

Benjamin Drung 2084809 at bugs.launchpad.net
Thu Oct 17 13:17:22 UTC 2024


Public bug reported:

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
```

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

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oracular third-party-packages wayland-session

** Description changed:

  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
+ ```
  
  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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2084809

Title:
  update-initramfs fails when booted with dracut initrd

Status in initramfs-tools package in Ubuntu:
  New

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
  ```

  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/initramfs-tools/+bug/2084809/+subscriptions




More information about the foundations-bugs mailing list