On Mon, Jun 14, 2021 at 4:33 PM Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > > On Mon, 2021-06-14 at 13:59 -0400, Bruce Ashfield wrote: > > On Mon, Jun 14, 2021 at 10:59 AM Matt Spencer <matt.spen...@arm.com> wrote: > > > > > > Hey Bruce, > > > > > > I understand that changing things can be difficult once launched. > > > > > > But looking at the systemd documentation here > > > https://wiki.archlinux.org/title/systemd-networkd and in the note that > > > says 'Devices can also be matched by their type. E.g. Type=ether for > > > Ethernet, Type=wlan for Wi-Fi and Type=wwan for WWAN. Note that > > > Type=ether will also match virtual Ethernet interfaces (veth*), which may > > > be undesirable.' > > > > > > I have created a patch that modifies poky's > > > meta/recipes-core/systemd/systemd-conf/wired.network to add > > > '+Name=!veth*' to the Match clause which the team at Arm are reviewing > > > with a view to upstream. > > > > > > I feel that this should have been the default behaviour anyway? > > > > Perhaps, but it is probably a good idea to have the default as broad > > as possible. If someone comes up with an alternate requirement, you'd > > end up having a harder time keeping them both working in oe-core. > > > > We could also carry a bbappend in meta-virtualization that triggers > > when "virtualization" is in the distro features. That way we are > > providing an override that makes sense within the context of the layer > > that is providing it, and the distro features that are enabled. > > FWIW I suspect the veth change should be ok for OE-Core if I understand > things correctly.
I'm sure we'll hear if someone is expecting networkd to manage their veth devices :D Either way works for me, I just lean towards keeping core very general and not tailored to any particular use case. If you are doing virtualization, and in particular kubernetes based, you need to have a close look at your networking regardless. Cheers, Bruce > > Cheers, > > Richard > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6561): https://lists.yoctoproject.org/g/meta-virtualization/message/6561 Mute This Topic: https://lists.yoctoproject.org/mt/83526656/21656 Group Owner: meta-virtualization+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-