[systemd-devel] Udev won't rename interfaces that are already UP

Giancarlo Razzolini grazzolini at gmail.com
Wed Feb 18 12:26:18 PST 2015


On 18-02-2015 18:12, Mantas Mikulėnas wrote:
> It's so much not that udev won't do this – the kernel actually won't
> let it to:
>
> # ip link set eth0 up
> # ip link set eth0 name fred0
> RTNETLINK answers: Device or resource busy
> #
>
Thank you for your fast response, Mantas. I'm aware that this is a
kernel limitation. But udev could force the renaming by intentionally
flushing and/or downing the interface. I know this is a corner case, but
I believe that the early userspace network configuration should be
forcibly dropped, no matter what. Also, I know that early userspace
networking isn't common place, but it has many applications, as those
hooks show. I'd be happy to give a try in making a patch, but I wanted
first to get some input from you guys.

Cheers,
Giancarlo Razzolini


More information about the systemd-devel mailing list