From: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
To: Andreas Oberritter <obi@opendreambox.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] connman: fix race condition with systemd-udev
Date: Fri, 21 Apr 2017 16:30:42 +0300 [thread overview]
Message-ID: <1492781442.7102.13.camel@linux.intel.com> (raw)
In-Reply-To: <20170421133747.4ba6e331@t510.zcs.saftware.de>
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@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
prev parent reply other threads:[~2017-04-21 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 8:25 [PATCH] connman: fix race condition with systemd-udev Dmitry Rozhkov
2017-04-21 11:37 ` Andreas Oberritter
2017-04-21 13:30 ` Dmitry Rozhkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1492781442.7102.13.camel@linux.intel.com \
--to=dmitry.rozhkov@linux.intel.com \
--cc=obi@opendreambox.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox