From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: xiangyu.chen@eng.windriver.com
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][PATCH] lxc: don't allow named listening IPv6 address on lxcbrX network interface
Date: Thu, 12 Jun 2025 10:41:10 -0400 [thread overview]
Message-ID: <aErnBr8etCw5Tou9@gmail.com> (raw)
In-Reply-To: <20250606033516.3503990-1-xiangyu.chen@eng.windriver.com>
merged.
Bruce
In message: [meta-virtualization][PATCH] lxc: don't allow named listening IPv6 address on lxcbrX network interface
on 06/06/2025 Xiangyu Chen via lists.yoctoproject.org wrote:
> From: Xiangyu Chen <xiangyu.chen@windriver.com>
>
> lxc-net enabled the IPv6 by default since v6.0.0[1], when named enabled on
> system, the lxc-net which based on dnsmasq would fail to bind the IPv6
> address on lxcbrX interface, that cause lxc cannot work correctly.
>
> LXC upstream changed the default v6 address again[2], we need to line up with
> upstream. Updated the lxc-net default v6 address to named.conf.option to tell
> named don't bind and listen that address.
>
> Ref:
>
> [1] https://github.com/lxc/lxc/commit/e8888344
> [2] https://github.com/lxc/lxc/commit/31012d49
>
> Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
> ---
> recipes-core/bind/bind_virtualization.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-core/bind/bind_virtualization.inc b/recipes-core/bind/bind_virtualization.inc
> index f942d7ad..bb4e22b2 100644
> --- a/recipes-core/bind/bind_virtualization.inc
> +++ b/recipes-core/bind/bind_virtualization.inc
> @@ -1,4 +1,4 @@
> # Tell named not to bother listening on the IP address that lxc and libvirtd handles itself.
> do_install:append() {
> - sed -i -e 's,^\( *options *{\)$,\1\n\t// lxc and libvirtd would take care of this address itself\n\tlisten-on { ! 10.0.3.1; ! 192.168.122.1; any;};\n\tlisten-on-v6 { ! fc11:4514:1919:810::1; any;};\n,' ${D}${sysconfdir}/bind/named.conf.options
> + sed -i -e 's,^\( *options *{\)$,\1\n\t// lxc and libvirtd would take care of this address itself\n\tlisten-on { ! 10.0.3.1; ! 192.168.122.1; any;};\n\tlisten-on-v6 { ! fc42:5009:ba4b:5ab0::1; any;};\n,' ${D}${sysconfdir}/bind/named.conf.options
> }
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9273): https://lists.yoctoproject.org/g/meta-virtualization/message/9273
> Mute This Topic: https://lists.yoctoproject.org/mt/113498088/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
next prev parent reply other threads:[~2025-06-12 14:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-06 3:35 [meta-virtualization][PATCH] lxc: don't allow named listening IPv6 address on lxcbrX network interface Xiangyu Chen
2025-06-12 14:41 ` Bruce Ashfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-28 7:38 [meta-virtualization][PATCH] openvswitch: 3.3.2 Xiangyu Chen
2024-10-28 7:38 ` [meta-virtualization][PATCH] lxc: don't allow named listening IPv6 address on lxcbrX network interface Xiangyu Chen
2024-10-31 3:55 ` Bruce Ashfield
2024-11-02 4:04 ` Bruce Ashfield
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=aErnBr8etCw5Tou9@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
--cc=xiangyu.chen@eng.windriver.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.