[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989659: initramfs-tools: error when /etc/initramfs-tools/scripts inexistent



Package: initramfs-tools
Version: 0.140
Severity: normal
X-Debbugs-Cc: mb@sekoya.org

Dear Maintainer,

During an apt installation :

apt install dmraid gpart jfsutils kpartx reiser4progs reiserfsprogs udftools

this error dropped during process :

     Processing triggers for initramfs-tools (0.140) ...
     update-initramfs: Generating /boot/initrd.img-5.10.0-6-amd64
     /usr/sbin/mkinitramfs: 329: cd: can't cd to /etc/initramfs-tools/scripts

I created this folder : mkdir /etc/initramfs-tools/scripts
ran : update-initramfs -u

The error is gone.

Perhaps this folder needs to be checked for existence and create it somewhere in initramfs-tools related scripts ?

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 23M May 17 09:52 /boot/initrd.img-5.10.0-6-amd64
-rw-r--r-- 1 root root 23M Jun  9 16:51 /boot/initrd.img-5.10.0-7-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-5.10.0-7-amd64 root=/dev/mapper/sys-root ro quiet intel_iommu=on

-- resume
RESUME=/dev/mapper/sys-swap_1
-- /proc/filesystems
	ext3
	ext2
	ext4
	fuseblk
	vfat
	xfs

-- lsmod
Module                  Size  Used by
cpuid                  16384  0
nouveau              2326528  1
mxm_wmi                16384  1 nouveau
ttm                   114688  1 nouveau
ctr                    16384  2
ccm                    20480  6
rfcomm                 90112  0
xt_conntrack           16384  1
nft_chain_nat          16384  3
xt_MASQUERADE          20480  1
nf_nat                 53248  2 nft_chain_nat,xt_MASQUERADE
nf_conntrack_netlink    57344  0
nf_conntrack          176128  4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
xfrm_user              45056  1
xfrm_algo              16384  1 xfrm_user
nft_counter            16384  15
xt_addrtype            16384  2
nft_compat             20480  4
nf_tables             245760  43 nft_compat,nft_counter,nft_chain_nat
nfnetlink              16384  4 nft_compat,nf_conntrack_netlink,nf_tables
br_netfilter           32768  0
bridge                253952  1 br_netfilter
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
cmac                   16384  11
overlay               143360  0
algif_hash             16384  5
algif_skcipher         16384  5
af_alg                 32768  22 algif_hash,algif_skcipher
bnep                   28672  2
hid_logitech_hidpp     49152  0
intel_pmc_core_pltdrv    16384  0
intel_pmc_core         45056  0
xfs                  1773568  1
iTCO_wdt               16384  0
snd_soc_skl_hda_dsp    28672  5
rtsx_pci_sdmmc         32768  0
intel_pmc_bxt          16384  1 iTCO_wdt
snd_soc_hdac_hdmi      45056  1 snd_soc_skl_hda_dsp
mei_wdt                16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd_soc_dmic           16384  1
mei_hdcp               24576  0
libcrc32c              16384  4 nf_conntrack,nf_nat,nf_tables,xfs
ee1004                 20480  0
mmc_core              188416  1 rtsx_pci_sdmmc
watchdog               28672  2 iTCO_wdt,mei_wdt
intel_rapl_msr         20480  0
sparse_keymap          16384  0
intel_wmi_thunderbolt    20480  0
snd_hda_codec_realtek   151552  1
wmi_bmof               16384  0
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
snd_sof_pci            24576  0
x86_pkg_temp_thermal    20480  0
snd_sof_intel_byt      24576  1 snd_sof_pci
intel_powerclamp       20480  0
snd_sof_intel_ipc      20480  1 snd_sof_intel_byt
coretemp               20480  0
snd_hda_codec_hdmi     73728  2
snd_sof_intel_hda_common   102400  1 snd_sof_pci
snd_sof_xtensa_dsp     16384  2 snd_sof_intel_hda_common,snd_sof_intel_byt
snd_sof               139264  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
kvm_intel             327680  0
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match    45056  2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt
kvm                   917504  1 kvm_intel
snd_hda_intel          57344  2
iwlmvm                339968  0
snd_intel_dspcfg       28672  3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common
btusb                  61440  0
btrtl                  24576  1 btusb
soundwire_intel        45056  2 snd_sof_intel_hda_common,snd_intel_dspcfg
btbcm                  20480  1 btusb
btintel                32768  1 btusb
soundwire_generic_allocation    16384  1 soundwire_intel
irqbypass              16384  1 kvm
mac80211              983040  1 iwlmvm
bluetooth             737280  33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
crc32_pclmul           16384  0
snd_soc_core          315392  7 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_dmic,snd_soc_skl_hda_dsp
libarc4                16384  1 mac80211
ghash_clmulni_intel    16384  0
snd_compress           32768  1 snd_soc_core
rapl                   20480  0
soundwire_cadence      36864  1 soundwire_intel
intel_cstate           20480  0
snd_hda_codec         172032  6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
iwlwifi               294912  1 iwlmvm
uvcvideo              114688  0
intel_uncore          176128  0
snd_hda_core          110592  11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
jitterentropy_rng      16384  1
videobuf2_v4l2         36864  1 uvcvideo
nls_ascii              16384  1
snd_hwdep              16384  1 snd_hda_codec
nls_cp437              20480  1
videobuf2_common       65536  2 videobuf2_v4l2,uvcvideo
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
drbg                   40960  1
vfat                   20480  1
fat                    86016  1 vfat
videodev              286720  3 videobuf2_v4l2,uvcvideo,videobuf2_common
snd_pcm               135168  10 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_hda_core
ansi_cprng             16384  0
pcspkr                 16384  0
mei_me                 45056  2
i2c_i801               32768  0
efi_pstore             16384  0
ecdh_generic           16384  2 bluetooth
tpm_crb                20480  0
cfg80211              970752  3 iwlmvm,iwlwifi,mac80211
hid_logitech_dj        28672  0
rtsx_pci              106496  1 rtsx_pci_sdmmc
i2c_smbus              20480  1 i2c_i801
mc                     61440  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
thunderbolt           294912  0
snd_timer              49152  1 snd_pcm
ecc                    36864  1 ecdh_generic
mei                   139264  5 mei_wdt,mei_hdcp,mei_me
ucsi_acpi              16384  0
processor_thermal_device    20480  0
typec_ucsi             40960  1 ucsi_acpi
intel_rapl_common      28672  2 intel_rapl_msr,processor_thermal_device
tpm_tis                16384  0
tpm_tis_core           28672  1 tpm_tis
intel_pch_thermal      16384  0
intel_soc_dts_iosf     20480  1 processor_thermal_device
typec                  53248  1 typec_ucsi
tpm                    73728  3 tpm_tis,tpm_crb,tpm_tis_core
thinkpad_acpi         118784  0
rng_core               16384  1 tpm
wmi                    36864  4 intel_wmi_thunderbolt,wmi_bmof,mxm_wmi,nouveau
nvram                  16384  1 thinkpad_acpi
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_sof,thinkpad_acpi
snd                   110592  27 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_soc_hdac_hdmi,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_soc_skl_hda_dsp
soundcore              16384  1 snd
rfkill                 28672  9 bluetooth,thinkpad_acpi,cfg80211
battery                20480  1 thinkpad_acpi
ac                     16384  0
int3403_thermal        20480  0
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
int3400_thermal        20480  0
acpi_thermal_rel       16384  1 int3400_thermal
acpi_tad               20480  0
acpi_pad              184320  0
button                 24576  1 nouveau
msr                    16384  0
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                69632  3 parport_pc,lp,ppdev
fuse                  167936  5
configfs               57344  1
efivarfs               16384  1
ip_tables              32768  0
x_tables               53248  5 xt_conntrack,nft_compat,xt_addrtype,ip_tables,xt_MASQUERADE
autofs4                53248  2
ext4                  921600  3
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  151552  1 ext4
crc32c_generic         16384  0
dm_snapshot            53248  5
dm_bufio               36864  1 dm_snapshot
dm_crypt               53248  1
dm_mirror              28672  0
dm_region_hash         24576  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
dm_mod                163840  35 dm_crypt,dm_log,dm_snapshot,dm_mirror,dm_bufio
hid_corsair            16384  0
hid_generic            16384  0
usbhid                 65536  1 hid_logitech_dj
hid                   147456  5 usbhid,hid_corsair,hid_generic,hid_logitech_dj,hid_logitech_hidpp
joydev                 28672  0
i915                 2715648  32
i2c_algo_bit           16384  2 i915,nouveau
crc32c_intel           24576  6
drm_kms_helper        274432  2 i915,nouveau
cec                    61440  2 drm_kms_helper,i915
xhci_pci               20480  0
nvme                   49152  3
xhci_hcd              307200  1 xhci_pci
drm                   618496  21 drm_kms_helper,i915,ttm,nouveau
aesni_intel           368640  22
usbcore               323584  6 xhci_hcd,usbhid,hid_corsair,uvcvideo,btusb,xhci_pci
psmouse               184320  0
nvme_core             126976  5 nvme
glue_helper            16384  1 aesni_intel
evdev                  28672  23
libaes                 16384  2 bluetooth,aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 24576  8 crypto_simd,ghash_clmulni_intel
t10_pi                 16384  1 nvme_core
crc_t10dif             20480  1 t10_pi
serio_raw              20480  0
crct10dif_generic      16384  0
crct10dif_pclmul       16384  1
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
usb_common             16384  3 xhci_hcd,usbcore,uvcvideo
video                  53248  3 thinkpad_acpi,i915,nouveau

-- /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=gzip
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto

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

-- /etc/crypttab
nvme0n1p3_crypt UUID=e3d921ff-a88f-484a-a863-b51dec5725b5 none luks,discard

-- /sys/block
dm-0
dm-1
dm-2
dm-3
dm-4
dm-5
dm-6
dm-7
dm-8
dm-9
nvme0n1

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


-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/16 CPU threads)
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 initramfs-tools depends on:
ii  initramfs-tools-core  0.140
ii  linux-base            4.6

initramfs-tools recommends no packages.

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

-- no debconf information


Reply to: