Re: [PATCH] net: usbnet: allow overriding of default USB interface naming

From: Jakub Kicinski
Date: Mon Jun 14 2021 - 15:20:05 EST


On Mon, 14 Jun 2021 15:53:53 +0100 Jonathan Davies wrote:
> >> Compare implementations of rename_netif in
> >> https://git.kernel.org/pub/scm/linux/hotplug/udev.git/tree/src/udev-event.c
> >> (traditional udev, which handles collisions) and
> >> https://github.com/systemd/systemd/blob/main/src/udev/udev-event.c
> >> (systemd-udevd, which does not handle collisions).

That explains some user reports I've been seeing :o

> > Then submit a change to add the logic back. This looks like a userspace
> > tool breaking existing setups, so please take it up with the developers
> > of that tool. The kernel has not changed or "broken" anything here.
>
> (I didn't mean to imply that the kernel was to blame, merely that a
> kernel change could help make things tidier.)

If you're attempting to fix this in systemd please share the PR info
so we can voice support!