Package: initramfs-tools
Version: 0.144
Followup-For: Bug #1079150
X-Debbugs-Cc: josel.seg...@gmx.es

Dear Maintainer,

I was facing this problem and in order to avoid it, I updated initramfs-tools
to the latest version.

Sadly, it is unable to regenerate the initramfs properly due to a different
problem related to the reiserfsprogs hook.

```
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.10.6-amd64
cp: cannot stat '/var/tmp/mkinitramfs_zoQopR//usr/sbin/reiserfsck': Too many
levels of symbolic links
ln: failed to create symbolic link
'/var/tmp/mkinitramfs_zoQopR/sbin/reiserfsck': File exists
cp: cannot stat '/var/tmp/mkinitramfs_zoQopR//usr/sbin/reiserfsck': Too many
levels of symbolic links
E: /usr/share/initramfs-tools/hooks/reiserfsprogs failed with return 1.
```

After commenting out the line where the reiserfsprogs hook was trying to copy
reiserfsck, I was able to generate a valid initramfs that allowed me to boot
normally.

I have the impression that, even fixing this problem, the newest version
introduced a different bug.


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 18M Aug 22 09:17 /boot/initrd.img-6.10.4
-rw-r--r-- 1 root root 47M Aug 22 10:18 /boot/initrd.img-6.10.4-amd64
-rw-r--r-- 1 root root 47M Aug 22 10:18 /boot/initrd.img-6.9.12-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.10.4-amd64 root=/dev/mapper/mordor--vg-root ro quiet

-- resume
RESUME=/dev/mapper/mordor--vg-swap_1
-- /proc/filesystems
        fuseblk
        btrfs
        ext3
        ext2
        ext4
        vfat
        iso9660
        xfs

-- lsmod
Module                  Size  Used by
vboxnetadp             28672  0
vboxnetflt             36864  0
vboxdrv               679936  2 vboxnetadp,vboxnetflt
xfs                  2568192  1
isofs                  53248  1
cdrom                  81920  1 isofs
xt_conntrack           12288  1
nft_chain_nat          12288  3
xt_MASQUERADE          16384  1
nf_nat                 65536  2 nft_chain_nat,xt_MASQUERADE
nf_conntrack_netlink    61440  0
nf_conntrack          204800  4 
xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         12288  1 nf_conntrack
xfrm_user              65536  1
xfrm_algo              16384  1 xfrm_user
xt_addrtype            12288  2
nft_compat             20480  4
nf_tables             372736  75 nft_compat,nft_chain_nat
br_netfilter           36864  0
bridge                389120  1 br_netfilter
stp                    12288  1 bridge
llc                    16384  2 bridge,stp
ccm                    20480  6
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               110592  7 snd_seq_dummy
r8153_ecm              12288  0
cdc_ether              24576  1 r8153_ecm
usbnet                 65536  2 r8153_ecm,cdc_ether
r8152                 151552  1 r8153_ecm
mii                    16384  2 usbnet,r8152
libphy                225280  1 r8152
rfcomm                102400  6
cmac                   12288  3
algif_hash             12288  1
algif_skcipher         12288  1
af_alg                 32768  6 algif_hash,algif_skcipher
qrtr                   53248  2
overlay               208896  0
bnep                   36864  2
binfmt_misc            28672  1
snd_soc_skl_hda_dsp    24576  4
snd_soc_hdac_hdmi      45056  1 snd_soc_skl_hda_dsp
snd_sof_probes         24576  0
snd_soc_intel_hda_dsp_common    16384  1 snd_soc_skl_hda_dsp
snd_hda_codec_hdmi     90112  1
snd_hda_codec_realtek   204800  1
nls_ascii              12288  1
nls_cp437              16384  1
vfat                   20480  1
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
fat                    98304  1 vfat
snd_hda_scodec_component    20480  1 snd_hda_codec_realtek
snd_soc_dmic           12288  1
snd_sof_pci_intel_tgl    12288  0
snd_sof_pci_intel_cnl    20480  1 snd_sof_pci_intel_tgl
snd_sof_intel_hda_generic    36864  2 
snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
soundwire_intel        73728  1 snd_sof_intel_hda_generic
soundwire_generic_allocation    12288  1 soundwire_intel
soundwire_cadence      45056  1 soundwire_intel
snd_sof_intel_hda_common   184320  3 
snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
snd_sof_intel_hda_mlink    36864  3 
soundwire_intel,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_sof_intel_hda      20480  2 
snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_sof_pci            24576  3 
snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_generic
snd_sof               372736  6 
snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda_generic,snd_sof_probes,snd_sof_intel_hda,snd_sof_pci_intel_cnl
snd_sof_utils          16384  1 snd_sof
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
snd_soc_acpi_intel_match   106496  3 
snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
snd_soc_acpi           16384  2 
snd_soc_acpi_intel_match,snd_sof_intel_hda_generic
soundwire_bus         114688  3 
soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_avs           208896  0
intel_uncore_frequency    12288  0
snd_soc_hda_codec      24576  1 snd_soc_avs
intel_uncore_frequency_common    16384  1 intel_uncore_frequency
snd_hda_ext_core       36864  7 
snd_soc_avs,snd_soc_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
iwlmvm                626688  0
coretemp               16384  0
snd_soc_core          413696  10 
snd_soc_avs,snd_soc_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_probes,snd_soc_dmic,snd_soc_skl_hda_dsp
kvm_intel             413696  0
snd_compress           28672  3 snd_soc_avs,snd_soc_core,snd_sof_probes
snd_pcm_dmaengine      16384  1 snd_soc_core
uvcvideo              147456  0
snd_hda_intel          61440  0
videobuf2_vmalloc      20480  1 uvcvideo
mei_hdcp               28672  0
mei_wdt                12288  0
mei_pxp                16384  0
snd_intel_dspcfg       36864  5 
snd_soc_avs,snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
intel_rapl_msr         20480  0
mac80211             1396736  1 iwlmvm
kvm                  1343488  1 kvm_intel
snd_ctl_led            24576  0
libarc4                12288  1 mac80211
snd_intel_sdw_acpi     16384  2 snd_intel_dspcfg,snd_sof_intel_hda_generic
uvc                    12288  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
snd_hda_codec         212992  10 
snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
btusb                  86016  0
videobuf2_v4l2         36864  1 uvcvideo
snd_usb_audio         479232  1
iwlwifi               565248  1 iwlmvm
snd_hda_core          143360  13 
snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
rapl                   20480  0
i915                 4235264  31
btrtl                  32768  1 btusb
intel_cstate           24576  0
videodev              364544  2 videobuf2_v4l2,uvcvideo
btintel                69632  1 btusb
snd_usbmidi_lib        49152  1 snd_usb_audio
btbcm                  24576  1 btusb
btmtk                  12288  1 btusb
snd_rawmidi            53248  1 snd_usbmidi_lib
think_lmi              36864  0
iTCO_wdt               12288  0
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
intel_pmc_bxt          16384  1 iTCO_wdt
intel_uncore          258048  0
snd_seq_device         16384  2 snd_seq,snd_rawmidi
pcspkr                 12288  0
videobuf2_common       81920  4 
videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
bluetooth            1069056  34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
firmware_attributes_class    12288  1 think_lmi
snd_pcm               188416  14 
snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
cfg80211             1339392  3 iwlmvm,iwlwifi,mac80211
mc                     94208  5 
videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
mei_me                 57344  3
iTCO_vendor_support    12288  1 iTCO_wdt
watchdog               49152  2 iTCO_wdt,mei_wdt
thinkpad_acpi         151552  0
wmi_bmof               12288  0
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
mei                   184320  7 mei_wdt,mei_hdcp,mei_pxp,mei_me
nvram                  16384  1 thinkpad_acpi
processor_thermal_device_pci_legacy    12288  0
platform_profile       12288  1 thinkpad_acpi
snd                   147456  31 
snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi
processor_thermal_device    20480  1 processor_thermal_device_pci_legacy
soundcore              16384  2 snd_ctl_led,snd
processor_thermal_wt_hint    16384  1 processor_thermal_device
drm_buddy              20480  1 i915
rfkill                 40960  10 iwlmvm,bluetooth,thinkpad_acpi,cfg80211
drm_display_helper    262144  1 i915
int3403_thermal        16384  0
ac                     16384  0
ucsi_acpi              12288  0
processor_thermal_rfim    28672  1 processor_thermal_device
sg                     45056  0
typec_ucsi             65536  1 ucsi_acpi
cec                    69632  2 drm_display_helper,i915
processor_thermal_rapl    16384  1 processor_thermal_device
typec                 114688  1 typec_ucsi
rc_core                73728  1 cec
roles                  16384  1 typec_ucsi
intel_pmc_core        122880  0
ttm                   102400  1 i915
intel_rapl_common      49152  2 intel_rapl_msr,processor_thermal_rapl
processor_thermal_wt_req    12288  1 processor_thermal_device
intel_vsec             20480  1 intel_pmc_core
intel_hid              28672  0
pmt_telemetry          16384  1 intel_pmc_core
int3400_thermal        20480  0
sparse_keymap          12288  2 intel_hid,thinkpad_acpi
drm_kms_helper        253952  2 drm_display_helper,i915
processor_thermal_power_floor    12288  1 processor_thermal_device
pmt_class              12288  1 pmt_telemetry
acpi_pad              184320  0
processor_thermal_mbox    12288  4 
processor_thermal_power_floor,processor_thermal_wt_req,processor_thermal_rfim,processor_thermal_wt_hint
acpi_thermal_rel       16384  1 int3400_thermal
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
i2c_algo_bit           12288  1 i915
intel_soc_dts_iosf     16384  1 processor_thermal_device_pci_legacy
igen6_edac             28672  0
acpi_tad               20480  0
joydev                 24576  0
button                 24576  0
evdev                  28672  24
serio_raw              16384  0
msr                    12288  0
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                81920  3 parport_pc,lp,ppdev
configfs               69632  1
efi_pstore             12288  0
nfnetlink              20480  5 nft_compat,nf_conntrack_netlink,nf_tables
ip_tables              28672  0
x_tables               53248  5 
xt_conntrack,nft_compat,xt_addrtype,ip_tables,xt_MASQUERADE
autofs4                57344  2
ext4                 1130496  3
crc16                  12288  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  196608  1 ext4
btrfs                2101248  0
blake2b_generic        24576  0
usbhid                 77824  0
sd_mod                 81920  2
dm_crypt               61440  1
dm_mod                208896  15 dm_crypt
efivarfs               28672  1
raid10                 73728  0
raid456               196608  0
async_raid6_recov      20480  1 raid456
async_memcpy           16384  2 raid456,async_raid6_recov
async_pq               16384  2 raid456,async_raid6_recov
async_xor              16384  3 async_pq,raid456,async_raid6_recov
async_tx               16384  5 
async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    20480  2 async_xor,btrfs
uas                    32768  0
usb_storage            86016  3 uas
scsi_mod              319488  4 sd_mod,usb_storage,uas,sg
scsi_common            16384  5 scsi_mod,sd_mod,usb_storage,uas,sg
raid6_pq              122880  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              12288  6 nf_conntrack,nf_nat,btrfs,nf_tables,xfs,raid456
crc32c_generic         12288  0
raid1                  61440  0
raid0                  24576  0
md_mod                225280  4 raid1,raid10,raid0,raid456
hid_multitouch         32768  0
hid_generic            12288  0
nvme                   57344  3
i2c_hid_acpi           12288  0
nvme_core             192512  4 nvme
crc32_pclmul           12288  0
i2c_hid                40960  1 i2c_hid_acpi
crc32c_intel           16384  6
t10_pi                 20480  2 sd_mod,nvme_core
xhci_pci               24576  0
crc64_rocksoft_generic    12288  1
drm                   749568  16 
i2c_hid,drm_kms_helper,drm_display_helper,drm_buddy,thinkpad_acpi,i915,ttm
ghash_clmulni_intel    16384  0
crc64_rocksoft         16384  1 t10_pi
xhci_hcd              356352  1 xhci_pci
crc_t10dif             16384  1 t10_pi
sha512_ssse3           53248  0
video                  77824  2 thinkpad_acpi,i915
crct10dif_generic      12288  0
usbcore               401408  13 
xhci_hcd,usbnet,snd_usb_audio,usbhid,snd_usbmidi_lib,r8153_ecm,usb_storage,uvcvideo,btusb,xhci_pci,cdc_ether,uas,r8152
crct10dif_pclmul       12288  1
intel_lpss_pci         24576  0
i2c_i801               36864  0
sha256_ssse3           32768  0
crc64                  16384  2 crc64_rocksoft,crc64_rocksoft_generic
thunderbolt           524288  0
e1000e                364544  0
psmouse               208896  0
sha1_ssse3             32768  0
i2c_smbus              16384  1 i2c_i801
intel_lpss             12288  1 intel_lpss_pci
crct10dif_common       12288  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
idma64                 20480  0
usb_common             16384  4 xhci_hcd,usbcore,uvcvideo,typec_ucsi
hid                   253952  4 i2c_hid,usbhid,hid_multitouch,hid_generic
battery                28672  1 thinkpad_acpi
wmi                    28672  3 video,wmi_bmof,think_lmi
aesni_intel           364544  10
crypto_simd            16384  1 aesni_intel
cryptd                 28672  4 crypto_simd,ghash_clmulni_intel

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=zstd
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
nvme0n1p3_crypt UUID=f69e4ea9-1d10-455f-b509-4013c40f9cb4 none luks,discard

-- /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
amd64_microcode
btrfs
cryptgnupg
cryptgnupg-sc
cryptkeyctl
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
intel_microcode
keymap
klibc-utils
kmod
lvm2
mdadm
ntfs_3g
reiserfsprogs
resume
thermal
udev
xfs
zz-busybox


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

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

Versions of packages initramfs-tools depends on:
ii  initramfs-tools-core  0.144
ii  linux-base            4.10.1

initramfs-tools recommends no packages.

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.14.0-1

-- no debconf information

Reply via email to