On Tue, Jun 15, 2021 at 6:02 AM Ross Burton <r...@burtonini.com> wrote:
>
> From: Matt Spencer <matt.spen...@arm.com>
>
> We need to prevent systemd-network from managing veth interface when
> using platforms like k3s as they control creation and management of the
> interfaces.

FWIW, I think this may surprise/break people in other use cases. I had
mentioned this to matt directly as well.

The situation is not as clear as that commit message implies. networkd
*can* cause issues with veth devices, but not always.

Not trying to stop the patch, but I wanted my concerns to be archived :D

Bruce

>
> Signed-off-by: Matt Spencer <matt.spen...@arm.com>
> Signed-off-by: Ross Burton <ross.bur...@arm.com>
> ---
>  meta/recipes-core/systemd/systemd-conf/wired.network | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/systemd/systemd-conf/wired.network 
> b/meta/recipes-core/systemd/systemd-conf/wired.network
> index e7b69970d6..7406287248 100644
> --- a/meta/recipes-core/systemd/systemd-conf/wired.network
> +++ b/meta/recipes-core/systemd/systemd-conf/wired.network
> @@ -1,5 +1,6 @@
>  [Match]
>  Type=ether
> +Name=!veth*
>  KernelCommandLine=!nfsroot
>  KernelCommandLine=!ip
>
> --
> 2.25.1
>
>
> 
>


-- 
- 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 (#152990): 
https://lists.openembedded.org/g/openembedded-core/message/152990
Mute This Topic: https://lists.openembedded.org/mt/83552270/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to