Package: dracut
Version: 102-3
Severity: normal
X-Debbugs-Cc: in.cognit...@arcor.de

Dear Maintainer,

thanks for maintaining dracut for Debian and thanks for the extra
effort of migrating to the dracut-ng upstream!  Here is probably
a follow-up issue caused by that ...

   * What led up to the situation?

Installation of dracut-ng-based dracut package 102-3.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Called my usual "dracut --quiet --force --regenerate-all" command
to manually regenerate dracut initramfs/initrd images after a
configuration change.

   * What was the outcome of this action?

Files being generated with names "initramfs-*-amd64.img" and not, as
previously "initrd.img-*-amd64":

------------------------- snip -------------------------
[~]$ ls -al /boot/
[...]
-rw-------  1 root root 28477336 Jun 19 12:08 initramfs-6.6.15-amd64.img
-rw-------  1 root root 28742400 Jun 19 12:08 initramfs-6.7.12-amd64.img
-rw-------  1 root root 28742715 Jun 18 11:07 initrd-fallback.img-6.7.12-amd64
-rw-r--r--  1 root root 28477398 Jun 18 11:07 initrd.img-6.6.15-amd64
-rw-------  1 root root 28742715 Jun 18 11:07 initrd.img-6.7.12-amd64
[...]
------------------------- snip -------------------------

In above listing, you can nicely see the difference: The files generated
on "Jun 18" have been created by the dracut post-install hooks, the
files generated on "Jun 19" manually.

   * What outcome did you expect instead?

I would have expected that a plain

  sudo dracut --quiet --force --regenerate-all

would create the same files as the dracut post-install hooks.

My dracut configuration, nothing spectacular:

------------------------- snip -------------------------
[~]$ cat /etc/dracut.conf
hostonly="yes"

add_drivers+=" i915 "

omit_dracutmodules+=" i18n "

# avoid warnings because of dependencies on uninstallable
# tpm2-tss
omit_dracutmodules+=" systemd-pcrphase "
[~]$ ls -al /etc/dracut.conf.d/
total 16
drwxr-xr-x   2 root root  4096 Dec  8  2023 .
drwxr-xr-x 131 root root 12288 Jun 19 12:08 ..
------------------------- snip -------------------------

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dracut depends on:
ii  dracut-core  102-3

dracut recommends no packages.

Versions of packages dracut suggests:
pn  dracut-network  <none>

-- no debconf information

Reply via email to