Hello Frederik,

It seems there's some confusion around special character devices. Your
subject mentions /dev/null…

Frederik Lindenaar <deb...@frederik.lindenaar.nl> (2021-03-06):
> When one disables the "Predicatble Network InterfaceNames" 
> by making /lib/systemd/network/99-default.link a symlink to /dev/zero then

… but this is about /dev/zero (not the same thing! — see `man 4 null`).

> 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.

… and here you write /dev/null but what you describe happens with
/dev/zero instead.

> 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

This correctly describes a symlink to /dev/null, and not /dev/zero which
appears to be what you're trying to use.

Fix your symlink, and you should be good to go?


Cheers,
-- 
Cyril Brulebois (k...@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature

Reply via email to