[systemd-bugs] error changing net interface name
Kay Sievers
kay at vrfy.org
Thu Mar 21 05:15:20 PDT 2013
On Thu, Mar 21, 2013 at 9:38 AM, <ultraviolett2 at arcor.de> wrote:
> Currently I am running systemd 198-1 with Arch Linux on a Thinkpad Z61m.
>
> When I upgraded systemd sometime in January to 197, I opt in the network renaming. I did as suggested from arch-dev-public through removing dummy file "/etc/udev/rules.d/80-net-name-slot.rules".
> https://mailman.archlinux.org/pipermail/arch-dev-public/2013-January/024231.html
>
> Since this time eth0 was and is never renamed due to error message: "error changing net interface name eth0 to enp, Device or Resource busy". From time to time I experience the same with wlan0; "error changing net interface name wlan0 to wlp3so, Device or Resource busy".
>
> My netcfg.service contains
> After=sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-net-wlp3s0.device
> BindTo=sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-net-wlp3s0.device
>
> which is necessary to wait for wlp3s0 becoming ready. Netcfg is used for auto connect.
Netcfg should better listen to udev events and not kernel network
netlink itself, when it watches for new devices. Or you need to make
sure netcfg is started after udev is ready and has renamed the
interfaces.
It seems it goes out on its own and claims the interfaces right after
they show up in the kernel, which makes them busy before udev has
renamed them.
Kay
More information about the systemd-bugs
mailing list