[systemd-devel] Misleading udev error messages regarding virtual interfaces
Leonid Isaev
lisaev at umail.iu.edu
Wed Jul 2 08:23:37 PDT 2014
On Wed, Jul 02, 2014 at 03:15:58PM +0200, Lennart Poettering wrote:
> On Sun, 29.06.14 17:50, Leonid Isaev (lisaev at umail.iu.edu) wrote:
>
> > Hi,
> >
> > I am seeing the following messages in my syslog on each boot:
> > ------
> > $ grep "link config " /var/log/errors.log
> > 2014-06-29T09:31:39.000-04:00 hermes systemd-udevd[246]: Could not apply link config to br0
> > 2014-06-29T09:31:40.000-04:00 hermes systemd-udevd[246]: Could not apply link config to veth0VRCA6
> > ------
> >
> > The bridge 'br0' is used for LXC containers and set up via networkd:
> > ------
> > $ cat /etc/systemd/network/lxc_bridge.netdev
> > [NetDev]
> > Name=br0
> > Kind=bridge
> >
> > $ cat /etc/systemd/network/lxc_bridge.network
> > [Match]
> > Name=br0
> >
> > [Network]
> > Description=LAN bridge for LXC containers
> > DHCP=false
> >
> > [Address]
> > Address=10.137.0.1/24
> > ------
> >
> > The interface 'vethXXXXXX' is a container part (I guess) of the veth pair.
> >
> > What is the meaning of the above errors, why are they printed, and is there a
> > way to get rid of them?
>
> I have improved the error message in git to print the actual error that
> is happening. This should make it easier to figure out what is going
> wrong.
Thanks!
>
> Most likely you have some .link file lying around that matches the
> bridge or veth device you are creating, which causes this error.
No, the only .link file in my system is the vanilla
/usr/lib/systemd/network/99-default.link. Does it match all possible
interfaces now?
The bridge is set up only via the above .netdev/.network files. The vethXXXXXX
interface (with random XXXXXX) is created dynamically by the lxc tools...
Cheers,
--
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6 20DF 9291 EE8A 043C B8C4
C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140702/79257f83/attachment.sig>
More information about the systemd-devel
mailing list