[OE-core] [PATCH] connman: fix race condition with systemd-udev

Dmitry Rozhkov dmitry.rozhkov at linux.intel.com
Fri Apr 21 13:30:42 UTC 2017


On Fri, 2017-04-21 at 13:37 +0200, Andreas Oberritter wrote:
> On Fri, 21 Apr 2017 11:25:34 +0300
> Dmitry Rozhkov <dmitry.rozhkov at linux.intel.com> wrote:
> 
> > When a new USB network interface is plugged in systemd
> > fails to rename the new interface (ethX) to a predictable
> > name [1] because connman locks it first.
> > 
> > The proposed solution is to blacklist unpredictable names
> > in connman in case systemd is used as an init system.
> > Also add a fix to connman that makes it to re-evaluate
> > a known but blacklisted ethernet interface for enabling
> > after it has got renamed.
> 
> Doesn't this break networking for everybody not using these
> "predictable" names?

Right, it does if systemd is configured not to use them. Though the
systemd recipe doesn't have such configuration option.
Also it might break if net.ifnames=0 is put in the kernel cmdline.

BR,
Dmitry



More information about the Openembedded-core mailing list