Package: dracut-core
Version: 106-1
Severity: important

As of 106-1 dracut-core is shipping /usr/lib/kernel/install.d/50-dracut.install

The Debian kernel postinst invokes:
- /etc/kernel/postinst.d/dracut which generates an initrd and calls 
kernel-install
- /etc/kernel/postinst.d/zz-systemd-boot which calls kernel-install (and now 
also generates an initrd with different options)

So I end up with two initrds and two "initrd" options in my 
/efi/loader/entries/ file.

It seems we need one or the other. I'm not sure if Debian's initramfs-tools 
will also converge on using systemd's kernel-install, 
but I guess some coordination is needed.

My current workaround is running `dpkg-reconfigure dracut` after kernel 
install, which seems to fix the double initrd in my ESP.

Related to #1091455 and #1082811

Kind regards,

-- Mourad DC


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

Kernel: Linux 6.12.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dracut-core depends on:
ii  cpio            2.15+dfsg-2
ii  dracut-install  106-1
ii  e2fsprogs       1.47.2-1
ii  kmod            33+20240816-2
ii  libc6           2.40-6
ii  udev            257.2-3

Versions of packages dracut-core recommends:
ii  binutils            2.44-1
pn  console-setup       <none>
ii  cryptsetup          2:2.7.5-1
pn  dmraid              <none>
ii  dmsetup             2:1.02.201-1
ii  kpartx              0.9.9-1
pn  lvm2                <none>
pn  mdadm               <none>
ii  systemd             257.2-3
ii  systemd-cryptsetup  257.2-3
ii  systemd-sysv        257.2-3
ii  zstd                1.5.6+dfsg-2

dracut-core suggests no packages.

-- no debconf information

Reply via email to