Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1059936: initramfs-tools: update-initramfs yields "cp: warning: behavior of -n is non-portable and may change in future"

237 views
Skip to first unread message

Vincent Lefevre

unread,
Jan 3, 2024, 4:40:04 PMJan 3
to
Package: initramfs-tools
Version: 0.142
Severity: normal

I get the following warnings with coreutils 9.4-3:

Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-5-amd64
[...]
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
[...]

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 62M 2023-12-19 03:08:02 /boot/initrd.img-6.1.0-16-amd64
-rw-r--r-- 1 root root 66M 2024-01-03 22:25:04 /boot/initrd.img-6.5.0-5-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.5.0-5-amd64 root=/dev/mapper/qaa--vg-root ro quiet

-- resume
RESUME=/dev/mapper/qaa--vg-swap_1
-- /proc/filesystems
ext3
ext2
ext4
fuseblk
vfat

-- lsmod
Module Size Used by
tls 151552 0
nfnetlink 20480 1
rfcomm 102400 4
ctr 12288 1
ccm 20480 3
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 114688 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
cmac 12288 3
algif_hash 12288 1
algif_skcipher 12288 1
af_alg 36864 6 algif_hash,algif_skcipher
snd_hda_codec_hdmi 90112 1
qrtr 57344 4
bnep 36864 2
binfmt_misc 28672 1
dell_rbtn 20480 0
snd_sof_pci_intel_tgl 12288 0
snd_sof_intel_hda_common 204800 1 snd_sof_pci_intel_tgl
soundwire_intel 61440 1 snd_sof_intel_hda_common
soundwire_generic_allocation 12288 1 soundwire_intel
snd_sof_intel_hda_mlink 40960 2 soundwire_intel,snd_sof_intel_hda_common
soundwire_cadence 45056 1 soundwire_intel
snd_sof_intel_hda 24576 1 snd_sof_intel_hda_common
intel_uncore_frequency 12288 0
snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
intel_uncore_frequency_common 16384 1 intel_uncore_frequency
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
x86_pkg_temp_thermal 16384 0
btusb 81920 0
snd_sof 356352 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda
intel_powerclamp 16384 0
btrtl 28672 1 btusb
snd_sof_utils 16384 1 snd_sof
coretemp 16384 0
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
btbcm 24576 1 btusb
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
iwlmvm 589824 0
snd_ctl_led 24576 0
btintel 57344 1 btusb
snd_soc_acpi_intel_match 90112 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
btmtk 12288 1 btusb
kvm_intel 413696 0
snd_hda_codec_realtek 192512 1
snd_soc_acpi 12288 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_hda_codec_generic 114688 1 snd_hda_codec_realtek
bluetooth 1134592 34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_soc_core 421888 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
mac80211 1392640 1 iwlmvm
snd_compress 28672 1 snd_soc_core
kvm 1359872 1 kvm_intel
soundwire_bus 114688 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
libarc4 12288 1 mac80211
snd_hda_intel 61440 1
snd_intel_dspcfg 32768 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
sha3_generic 16384 1
dell_laptop 32768 0
snd_hda_codec 225280 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
jitterentropy_rng 20480 1
uvcvideo 147456 0
irqbypass 12288 1 kvm
ledtrig_audio 12288 3 snd_ctl_led,snd_hda_codec_generic,dell_laptop
iwlwifi 544768 1 iwlmvm
joydev 24576 0
hid_sensor_als 16384 1
videobuf2_vmalloc 20480 1 uvcvideo
rapl 20480 0
snd_hda_core 147456 9 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_hda,snd_sof_intel_hda
uvc 12288 1 uvcvideo
drbg 49152 1
dell_wmi 16384 0
hid_sensor_trigger 20480 2 hid_sensor_als
mei_hdcp 28672 0
mei_wdt 12288 0
mei_pxp 16384 0
nls_ascii 12288 1
intel_cstate 20480 0
snd_hwdep 20480 1 snd_hda_codec
videobuf2_memops 16384 1 videobuf2_vmalloc
intel_rapl_msr 20480 0
cfg80211 1343488 3 iwlmvm,iwlwifi,mac80211
ansi_cprng 12288 0
dell_smbios 32768 2 dell_wmi,dell_laptop
hid_sensor_iio_common 20480 2 hid_sensor_trigger,hid_sensor_als
nls_cp437 16384 1
intel_uncore 258048 0
snd_pcm 188416 10 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core
videobuf2_v4l2 36864 1 uvcvideo
dell_wmi_sysman 57344 0
dcdbas 20480 1 dell_smbios
industrialio_triggered_buffer 12288 1 hid_sensor_trigger
ecdh_generic 16384 2 bluetooth
processor_thermal_device_pci 12288 0
videodev 368640 2 videobuf2_v4l2,uvcvideo
vfat 20480 1
iTCO_wdt 12288 0
pcspkr 12288 0
fat 102400 1 vfat
dell_wmi_ddv 24576 0
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
kfifo_buf 12288 1 industrialio_triggered_buffer
videobuf2_common 77824 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
firmware_attributes_class 12288 1 dell_wmi_sysman
intel_pmc_bxt 16384 1 iTCO_wdt
dell_wmi_descriptor 20480 2 dell_wmi,dell_smbios
processor_thermal_device 20480 1 processor_thermal_device_pci
wmi_bmof 12288 0
mei_me 57344 3
snd 151552 18 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_compress,snd_soc_core,snd_pcm
industrialio 135168 5 industrialio_triggered_buffer,hid_sensor_trigger,kfifo_buf,hid_sensor_als
mc 94208 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ucsi_acpi 12288 0
iTCO_vendor_support 12288 1 iTCO_wdt
processor_thermal_rfim 28672 1 processor_thermal_device
watchdog 49152 2 iTCO_wdt,mei_wdt
mei 184320 7 mei_wdt,mei_hdcp,mei_pxp,mei_me
soundcore 16384 2 snd_ctl_led,snd
rfkill 40960 9 iwlmvm,bluetooth,dell_laptop,dell_rbtn,cfg80211
typec_ucsi 57344 1 ucsi_acpi
ecc 45056 1 ecdh_generic
processor_thermal_mbox 16384 2 processor_thermal_rfim,processor_thermal_device
processor_thermal_rapl 16384 1 processor_thermal_device
roles 16384 1 typec_ucsi
typec 110592 1 typec_ucsi
intel_rapl_common 36864 2 intel_rapl_msr,processor_thermal_rapl
igen6_edac 24576 0
apple_mfi_fastcharge 16384 0
int3403_thermal 16384 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
int3400_thermal 20480 0
intel_hid 28672 0
intel_pmc_core 81920 0
acpi_thermal_rel 20480 1 int3400_thermal
sparse_keymap 12288 2 intel_hid,dell_wmi
acpi_pad 184320 0
acpi_tad 20480 0
ac 16384 0
hid_multitouch 32768 0
evdev 28672 20
serio_raw 16384 0
msr 12288 0
parport_pc 40960 0
ppdev 24576 0
lp 20480 0
parport 81920 3 parport_pc,lp,ppdev
fuse 208896 3
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
ext4 1130496 2
crc16 12288 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 200704 1 ext4
crc32c_generic 12288 0
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
dm_crypt 61440 1
dm_mod 221184 11 dm_crypt
hid_apple 24576 0
usbhid 73728 0
hid_sensor_custom 28672 0
hid_sensor_hub 28672 4 hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_als,hid_sensor_custom
intel_ishtp_hid 28672 0
nvme 57344 3
nvme_core 196608 4 nvme
t10_pi 20480 1 nvme_core
i915 3932160 10
crc64_rocksoft_generic 12288 1
crc64_rocksoft 16384 1 t10_pi
crc_t10dif 16384 1 t10_pi
crct10dif_generic 12288 0
crc64 16384 2 crc64_rocksoft,crc64_rocksoft_generic
nouveau 2887680 2
ahci 49152 0
libahci 61440 1 ahci
libata 475136 2 libahci,ahci
scsi_mod 327680 1 libata
scsi_common 16384 2 scsi_mod,libata
crct10dif_pclmul 12288 1
crct10dif_common 12288 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
crc32_pclmul 12288 0
crc32c_intel 16384 3
drm_buddy 20480 1 i915
mxm_wmi 12288 1 nouveau
i2c_algo_bit 12288 2 i915,nouveau
ghash_clmulni_intel 16384 0
drm_display_helper 233472 2 i915,nouveau
sha512_ssse3 53248 1
hid_generic 12288 0
cec 69632 2 drm_display_helper,i915
sha512_generic 16384 1 sha512_ssse3
sha256_ssse3 32768 0
rc_core 73728 1 cec
drm_ttm_helper 12288 1 nouveau
sha1_ssse3 32768 0
xhci_pci 24576 0
ttm 106496 3 drm_ttm_helper,i915,nouveau
xhci_hcd 352256 1 xhci_pci
drm_kms_helper 270336 4 drm_display_helper,i915,nouveau
rtsx_pci_sdmmc 32768 0
intel_lpss_pci 24576 0
aesni_intel 360448 8
usbcore 409600 10 xhci_hcd,usbnet,usbhid,r8153_ecm,apple_mfi_fastcharge,uvcvideo,btusb,xhci_pci,cdc_ether,r8152
mmc_core 253952 1 rtsx_pci_sdmmc
intel_ish_ipc 32768 0
i2c_i801 36864 0
crypto_simd 16384 1 aesni_intel
i2c_hid_acpi 12288 0
intel_lpss 16384 1 intel_lpss_pci
drm 765952 13 drm_kms_helper,drm_display_helper,drm_buddy,drm_ttm_helper,i915,ttm,nouveau
thunderbolt 487424 0
psmouse 208896 0
i2c_hid 36864 1 i2c_hid_acpi
video 77824 4 dell_wmi,dell_laptop,i915,nouveau
cryptd 28672 4 crypto_simd,ghash_clmulni_intel
rtsx_pci 131072 1 rtsx_pci_sdmmc
intel_ishtp 77824 2 intel_ishtp_hid,intel_ish_ipc
i2c_smbus 16384 1 i2c_i801
idma64 20480 0
vmd 24576 0
usb_common 20480 3 xhci_hcd,usbcore,uvcvideo
battery 28672 1 dell_wmi_ddv
hid 176128 7 i2c_hid,usbhid,hid_apple,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic
button 24576 1 nouveau
wmi 40960 9 dell_wmi_sysman,video,dell_wmi_ddv,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,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=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=3e44a71f-0640-43d6-9a0c-08f3508572cd none luks,discard

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

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


-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.142
ii linux-base 4.9

initramfs-tools recommends no packages.

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

-- no debconf information

--
Vincent Lefèvre <vin...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Dan Jacobson

unread,
Jan 5, 2024, 8:30:05 PMJan 5
to
update-initramfs: Generating /boot/initrd.img-6.6.9-amd64

Alexander Huynh

unread,
Jan 15, 2024, 12:40:04 AMJan 15
to

Debian Bug Tracking System

unread,
Jan 15, 2024, 6:40:04 AMJan 15
to
Processing control commands:

> reassign -1 klibc-utils
Bug #1059936 [initramfs-tools] initramfs-tools: update-initramfs yields "cp: warning: behavior of -n is non-portable and may change in future"
Bug reassigned from package 'initramfs-tools' to 'klibc-utils'.
No longer marked as found in versions initramfs-tools/0.142.
Ignoring request to alter fixed versions of bug #1059936 to the same values previously set
> forcemerge 1055694 -1
Bug #1055694 [klibc-utils] /usr/share/initramfs-tools/hooks/klibc-utils: cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
Bug #1056912 [klibc-utils] /usr/share/initramfs-tools/hooks/klibc-utils: cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
Bug #1060336 [klibc-utils] /usr/share/initramfs-tools/hooks/klibc-utils: cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
Bug #1059936 [klibc-utils] initramfs-tools: update-initramfs yields "cp: warning: behavior of -n is non-portable and may change in future"
1059936 was not blocked by any bugs.
1059936 was not blocking any bugs.
Added blocking bug(s) of 1059936: 1058752
Added indication that 1059936 affects initramfs-tools
Marked as found in versions klibc/2.0.13-2.
Bug #1056912 [klibc-utils] /usr/share/initramfs-tools/hooks/klibc-utils: cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
Bug #1060336 [klibc-utils] /usr/share/initramfs-tools/hooks/klibc-utils: cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
Merged 1055694 1056912 1059936 1060336

--
1055694: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055694
1056912: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056912
1059936: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059936
1060336: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060336
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

Vincent Lefevre

unread,
Jan 15, 2024, 6:40:04 AMJan 15
to
Control: reassign -1 klibc-utils
Control: forcemerge 1055694 -1

Note: Bug 1055694 was initially described as a different bug, but
it was retitled on January 9 (to match the change in coreutils),
so that it became the same bug as 1059936. Hence the merge.

On 2024-01-15 05:09:10 +0000, Alexander Huynh wrote:
> I believe the offending line is in the `klibc` package, after some tracing: https://salsa.debian.org/kernel-team/klibc/-/blob/2078f63fe594652d42e19060b05aa03966fbd8a5/debian/initramfs-tools/hooks/klibc-utils#L31

Yes, this is mentioned in the merge request at

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055694#43

Debian Bug Tracking System

unread,
Feb 21, 2024, 9:50:04 AMFeb 21
to
Your message dated Wed, 21 Feb 2024 14:37:16 +0000
with message-id <E1rcnim-...@fasolo.debian.org>
and subject line Bug#1055694: fixed in klibc 2.0.13-4
has caused the Debian Bug report #1055694,
regarding initramfs-tools: update-initramfs yields "cp: warning: behavior of -n is non-portable and may change in future"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


--
1055694: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055694
0 new messages