Package: initramfs-tools Version: 0.133+deb10u1 Severity: important When one disables the "Predicatble Network InterfaceNames" by making /lib/systemd/network/99-default.link a symlink to /dev/zero then update-initramfs will fail as the copy of this symlink will fill-up all space available in /var/tmp and makes it impossible to install any kernel image
the culprit is the following command executed by update-initramfs: find /etc/systemd/network -name *.link -execdir cp -pt /var/tmp/ {} + As it (and should) dereference de symlink, it reads zero bytes from /dev/null until the disk is full. Changing the symlink to a zero byte file resolved the issue for me but as this approach is one of the recommended approaches to disable predicatble network interface names (see [1]) others may also bump into this. [1] https://wiki.debian.org/NetworkInterfaceNames#How_to_get_it_back -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 6.9M Mar 6 14:31 /boot/initrd.img-4.19.0-13-amd64 -rw-r--r-- 1 root root 6.9M Mar 6 14:32 /boot/initrd.img-4.19.0-14-amd64 -- /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.19.0-14-amd64 root=UUID=8d33b150-7c84-4dd0-8893-06eab0e7b9d7 ro quiet -- resume RESUME=UUID=2db37a4d-80dd-46b3-aa4d-ff57862589ba -- /proc/filesystems ext3 ext2 ext4 -- lsmod Module Size Used by vmw_vsock_vmci_transport 32768 1 vsock 40960 2 vmw_vsock_vmci_transport ata_generic 16384 0 crct10dif_pclmul 16384 0 crc32_pclmul 16384 0 vmwgfx 331776 1 ttm 126976 1 vmwgfx ghash_clmulni_intel 16384 0 vmw_balloon 20480 0 drm_kms_helper 208896 1 vmwgfx intel_rapl_perf 16384 0 joydev 24576 0 pcspkr 16384 0 drm 495616 4 vmwgfx,drm_kms_helper,ttm ahci 40960 0 vmxnet3 69632 0 ata_piix 36864 0 libahci 40960 1 ahci sg 36864 0 libata 270336 4 ata_piix,libahci,ahci,ata_generic vmw_vmci 81920 2 vmw_balloon,vmw_vsock_vmci_transport i2c_piix4 24576 0 ac 16384 0 button 20480 0 ip_tables 28672 0 x_tables 45056 1 ip_tables autofs4 49152 2 ext4 745472 1 crc16 16384 1 ext4 mbcache 16384 1 ext4 jbd2 122880 1 ext4 crc32c_generic 16384 0 fscrypto 32768 1 ext4 ecb 16384 0 crc32c_intel 24576 2 sd_mod 61440 3 aesni_intel 200704 0 psmouse 172032 0 aes_x86_64 20480 1 aesni_intel crypto_simd 16384 1 aesni_intel cryptd 28672 3 crypto_simd,ghash_clmulni_intel,aesni_intel glue_helper 16384 1 aesni_intel evdev 28672 2 serio_raw 16384 0 vmw_pvscsi 28672 2 scsi_mod 249856 4 vmw_pvscsi,sd_mod,libata,sg -- /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% -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- /sys/block sda -- mkinitramfs hooks /etc/initramfs-tools/hooks/: /usr/share/initramfs-tools/hooks: dmsetup fsck fuse keymap klibc-utils kmod resume thermal udev zz-busybox -- System Information: Debian Release: 10.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-14-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8), LANGUAGE=en_US:en (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) 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.133+deb10u1 ii linux-base 4.6 initramfs-tools recommends no packages. Versions of packages initramfs-tools suggests: ii bash-completion 1:2.8-6 -- no debconf information