Bug#1054991: initramfs-tools: failed to make backup on esp directory /boot
Package: initramfs-tools
Version: 0.142
Severity: normal
X-Debbugs-Cc: moonexiler@gmail.com
Dear Maintainer,
I found backup_initramfs() function emits error message saying it failed to create a backup when it
tried to do so on esp partition /boot.
reproduce steps:
1. install Debian, make /boot as esp
2. execute update-initramfs -u
vfat fs doesn't support hard link though, use /boot as esp is possible, which leads to problem on Debian.
Cheers,
Zhian Chen (galiren)
-- Package-specific info:
-- initramfs sizes
-rwxr-xr-x 1 root root 77M Oct 29 10:33 /boot/initrd.img-6.5.0-3-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.5.0-3-amd64 root=UUID=074ecead-0292-4e54-b4a0-22de457656ea ro nowatchdog loglevel=5
-- /proc/filesystems
btrfs
fuseblk
vfat
-- lsmod
Module Size Used by
hidp 36864 1
rfcomm 102400 16
cmac 12288 3
algif_hash 12288 1
algif_skcipher 12288 1
af_alg 36864 6 algif_hash,algif_skcipher
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 114688 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_ctl_led 24576 0
snd_soc_skl_hda_dsp 24576 4
snd_soc_intel_hda_dsp_common 16384 1 snd_soc_skl_hda_dsp
snd_sof_probes 24576 0
snd_soc_hdac_hdmi 45056 1 snd_soc_skl_hda_dsp
qrtr 57344 4
bnep 36864 2
snd_hda_codec_hdmi 90112 1
iwlmvm 589824 0
snd_hda_codec_realtek 192512 1
snd_hda_codec_generic 114688 1 snd_hda_codec_realtek
intel_uncore_frequency 12288 0
intel_uncore_frequency_common 16384 1 intel_uncore_frequency
ledtrig_audio 12288 2 snd_ctl_led,snd_hda_codec_generic
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
snd_soc_dmic 12288 1
mac80211 1396736 1 iwlmvm
coretemp 16384 0
snd_sof_pci_intel_tgl 12288 0
snd_sof_intel_hda_common 204800 1 snd_sof_pci_intel_tgl
kvm_intel 413696 0
soundwire_intel 61440 1 snd_sof_intel_hda_common
soundwire_generic_allocation 12288 1 soundwire_intel
btusb 81920 0
snd_sof_intel_hda_mlink 40960 2 soundwire_intel,snd_sof_intel_hda_common
soundwire_cadence 45056 1 soundwire_intel
btrtl 28672 1 btusb
btbcm 24576 1 btusb
snd_sof_intel_hda 24576 1 snd_sof_intel_hda_common
btintel 57344 1 btusb
snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
btmtk 12288 1 btusb
libarc4 12288 1 mac80211
kvm 1368064 1 kvm_intel
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
bluetooth 1126400 49 btrtl,hidp,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_sof 356352 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes,snd_sof_intel_hda
iwlwifi 544768 1 iwlmvm
snd_sof_utils 16384 1 snd_sof
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_hda_ext_core 36864 5 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
snd_soc_acpi_intel_match 90112 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi 12288 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
binfmt_misc 28672 1
irqbypass 12288 1 kvm
snd_soc_core 421888 8 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
cfg80211 1339392 3 iwlmvm,iwlwifi,mac80211
ghash_clmulni_intel 16384 0
sha3_generic 16384 1
snd_compress 28672 2 snd_soc_core,snd_sof_probes
jitterentropy_rng 20480 1
nls_ascii 12288 1
soundwire_bus 114688 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
nls_cp437 16384 1
vfat 20480 1
sha512_ssse3 53248 1
fat 102400 1 vfat
sha512_generic 16384 1 sha512_ssse3
snd_hda_intel 61440 0
snd_intel_dspcfg 32768 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
uvcvideo 147456 0
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
ctr 12288 0
snd_hda_codec 225280 8 snd_hda_codec_generic,snd_hda_codec_hdmi,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
drbg 49152 1
videobuf2_vmalloc 20480 1 uvcvideo
aesni_intel 360448 4
uvc 12288 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
ansi_cprng 12288 0
videobuf2_v4l2 36864 1 uvcvideo
snd_hda_core 147456 11 snd_hda_codec_generic,snd_hda_codec_hdmi,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
ideapad_laptop 57344 0
crypto_simd 16384 1 aesni_intel
platform_profile 12288 1 ideapad_laptop
ecdh_generic 16384 2 bluetooth
cryptd 28672 3 crypto_simd,ghash_clmulni_intel
snd_hwdep 20480 1 snd_hda_codec
videodev 368640 2 videobuf2_v4l2,uvcvideo
snd_pcm 188416 11 snd_hda_codec_hdmi,snd_hda_intel,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
mei_hdcp 28672 0
mei_pxp 16384 0
rapl 20480 0
videobuf2_common 77824 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
pmt_telemetry 12288 0
pmt_class 12288 1 pmt_telemetry
intel_rapl_msr 20480 0
think_lmi 36864 0
intel_cstate 20480 0
intel_uncore 258048 0
mc 94208 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
firmware_attributes_class 12288 1 think_lmi
ecc 45056 1 ecdh_generic
iTCO_wdt 12288 0
wmi_bmof 12288 0
crc16 12288 1 bluetooth
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
mei_me 57344 2
ucsi_acpi 12288 0
intel_pmc_bxt 16384 1 iTCO_wdt
processor_thermal_device_pci 12288 0
pcspkr 12288 0
typec_ucsi 57344 1 ucsi_acpi
snd 151552 25 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm
processor_thermal_device 20480 1 processor_thermal_device_pci
iTCO_vendor_support 12288 1 iTCO_wdt
watchdog 49152 1 iTCO_wdt
mei 184320 5 mei_hdcp,mei_pxp,mei_me
processor_thermal_rfim 28672 1 processor_thermal_device
roles 16384 1 typec_ucsi
soundcore 16384 2 snd_ctl_led,snd
processor_thermal_mbox 16384 2 processor_thermal_rfim,processor_thermal_device
processor_thermal_rapl 16384 1 processor_thermal_device
typec 110592 1 typec_ucsi
intel_rapl_common 36864 2 intel_rapl_msr,processor_thermal_rapl
intel_vsec 20480 0
joydev 24576 0
int3403_thermal 16384 0
rfkill 40960 10 iwlmvm,bluetooth,ideapad_laptop,cfg80211
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
ac 16384 0
int3400_thermal 20480 0
intel_pmc_core 81920 0
intel_hid 28672 0
acpi_thermal_rel 20480 1 int3400_thermal
acpi_pad 184320 0
acpi_tad 20480 0
sparse_keymap 12288 2 intel_hid,ideapad_laptop
hid_multitouch 32768 0
evdev 28672 22
serio_raw 16384 0
fuse 208896 3
msr 12288 0
dm_mod 221184 0
loop 36864 0
efi_pstore 12288 0
configfs 69632 1
efivarfs 24576 1
ip_tables 28672 0
x_tables 57344 1 ip_tables
autofs4 57344 2
btrfs 2023424 1
blake2b_generic 24576 0
xor 20480 1 btrfs
raid6_pq 122880 1 btrfs
libcrc32c 12288 1 btrfs
crc32c_generic 12288 0
intel_ishtp_hid 28672 0
usbhid 73728 0
i915 3932160 24
hid_generic 12288 0
drm_buddy 20480 1 i915
i2c_algo_bit 12288 1 i915
xhci_pci 24576 0
nvme 57344 3
drm_display_helper 233472 1 i915
xhci_hcd 352256 1 xhci_pci
nvme_core 196608 4 nvme
cec 69632 2 drm_display_helper,i915
rc_core 73728 1 cec
ttm 106496 1 i915
t10_pi 20480 1 nvme_core
usbcore 409600 5 xhci_hcd,usbhid,uvcvideo,btusb,xhci_pci
sdhci_pci 90112 0
drm_kms_helper 270336 2 drm_display_helper,i915
cqhci 32768 1 sdhci_pci
crc64_rocksoft 16384 1 t10_pi
crc64 16384 1 crc64_rocksoft
i2c_hid_acpi 12288 0
crc_t10dif 16384 1 t10_pi
intel_lpss_pci 24576 0
sdhci 90112 1 sdhci_pci
video 73728 2 ideapad_laptop,i915
i2c_hid 36864 1 i2c_hid_acpi
intel_ish_ipc 32768 0
crct10dif_generic 12288 0
i2c_i801 36864 0
intel_lpss 16384 1 intel_lpss_pci
crc32_pclmul 12288 0
crct10dif_pclmul 12288 1
drm 765952 15 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
thunderbolt 487424 0
mmc_core 253952 3 sdhci,cqhci,sdhci_pci
e1000e 360448 0
crc32c_intel 16384 2
intel_ishtp 77824 2 intel_ishtp_hid,intel_ish_ipc
i2c_smbus 16384 1 i2c_i801
idma64 20480 0
crct10dif_common 12288 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
usb_common 20480 3 xhci_hcd,usbcore,uvcvideo
hid 176128 6 i2c_hid,hidp,usbhid,hid_multitouch,intel_ishtp_hid,hid_generic
fan 20480 0
button 24576 0
battery 28672 0
wmi 40960 4 video,wmi_bmof,ideapad_laptop,think_lmi
-- /etc/initramfs-tools/modules
-- /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
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
amd64_microcode
btrfs
dmsetup
fsck
fuse
intel_microcode
keymap
klibc-utils
kmod
ntfs_3g
plymouth
resume
thermal
udev
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.5.0-3-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 initramfs-tools depends on:
ii initramfs-tools-core 0.142
ii linux-base 4.9
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
pn bash-completion <none>
-- no debconf information
Reply to: