Bug#1076432: systemd: [networkd] incorrect IPv6 address generation

Luca Boccassi bluca at debian.org
Mon Jul 29 19:08:36 BST 2024


On Mon, 29 Jul 2024 at 19:02, Martin-Éric Racine
<martin-eric.racine at iki.fi> wrote:
>
> On Tue, 23 Jul 2024 18:15:48 +0100 Luca Boccassi <bluca at debian.org> wrote:
> > Control: tags -1 upstream
> >
> > On Tue, 23 Jul 2024 19:45:33 +0300 =?UTF-
> > 8?Q?Martin=2D=C3=89ric_Racine?= <martin-eric.racine at iki.fi> wrote:
> > > Please note that if you only reply to the bug itself, the reporter
> > > will never know that you requested more information.
> > >
> > > On Tue, 16 Jul 2024 11:37:43 +0100 Luca Boccassi <bluca at debian.org>
> > wrote:
> > > > Control: tags -1 moreinfo
> > > >
> > > > On Tue, 16 Jul 2024 13:29:36 +0300 =?utf-8?q?Martin-
> > =C3=89ric_Racine?=
> > > > <martin-eric.racine at iki.fi> wrote:
> > > > > Package: systemd
> > > > > Version: 252.26-1~deb12u2
> > > > > Severity: important
> > > > > Tags: ipv6
> > > > >
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA256
> > > > >
> > > > > I have enabled networkd and created the following
> > > > /etc/systemd/network/dhcp.network:
> > > > >
> > > > > [Match]
> > > > > Name=en* wl*
> > > > >
> > > > > [Network]
> > > > > DHCP=yes
> > > > > IPv6PrivacyExtensions=yes
> > > > > IPv6LinkLocalAddressGenerationMode=stable-privacy
> > > > >
> > > > > Two issues:
> > > > >
> > > > > 1) networkd creates a new link address with the stable-privacy
> > flag,
> > > > in addition to the existing one created by the kernel on bootup.
> > > > > 2) Regardless, the stable-privacy flag is not inherited by the
> > > > mngtmpaddr address. It steadfastly uses an EUI64 address.
> > > >
> > > > Can you reproduce in testing/unstable?
> > >
> > > Yes. It still ignores the fe80 created by the kernel at boottime with
> > > the stable-privacy flag, it still creates an additional one, and it
> > > still creates a public address with EUI64 instead of stable-privacy.
> >
> > Ok, then please open an issue upstream, after gathering debug level
> > logs (SYSTEMD_LOG_LEVEL=debug env var in networkd) and attach them too,
> > and also attach the "ip addr" output
>
> I have no idea of where to enable debug only for networkd.

First result on Google for "how to enable debug logs in systemd-networkd":

https://superuser.com/questions/1187633/how-to-debug-systemd-networkd

Both methods listed there are correct



More information about the Pkg-systemd-maintainers mailing list