Bug#1076432: systemd: [networkd] incorrect IPv6 address generation
Martin-Éric Racine
martin-eric.racine at iki.fi
Tue Jul 16 11:29:36 BST 2024
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.
Martin-Éric
- -- Package-specific info:
- -- System Information:
Debian Release: 12.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: i386 (i586)
Kernel: Linux 6.1.0-22-686 (SMP w/1 CPU thread; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages systemd depends on:
ii libacl1 2.3.1-3
ii libaudit1 1:3.0.9-1
ii libblkid1 2.38.1-5+deb12u1
ii libc6 2.36-9+deb12u7
ii libcap2 1:2.66-4
ii libcryptsetup12 2:2.6.1-4~deb12u2
ii libfdisk1 2.38.1-5+deb12u1
ii libgcrypt20 1.10.1-3
ii libkmod2 30+20221128-1
ii liblz4-1 1.9.4-1
ii liblzma5 5.4.1-0.2
ii libmount1 2.38.1-5+deb12u1
ii libp11-kit0 0.24.1-2
ii libseccomp2 2.5.4-1+deb12u1
ii libselinux1 3.4-1+b6
ii libssl3 3.0.13-1~deb12u1
ii libsystemd-shared 252.26-1~deb12u2
ii libsystemd0 252.26-1~deb12u2
ii libzstd1 1.5.4+dfsg2-5
ii mount 2.38.1-5+deb12u1
Versions of packages systemd recommends:
ii dbus [default-dbus-system-bus] 1.14.10-1~deb12u1
ii systemd-timesyncd [time-daemon] 252.26-1~deb12u2
Versions of packages systemd suggests:
ii libfido2-1 1.12.0-2+b1
pn libqrencode4 <none>
ii libtss2-esys-3.0.2-0 3.2.1-3
ii libtss2-mu0 3.2.1-3
pn libtss2-rc0 <none>
ii polkitd 122-3
pn systemd-boot <none>
pn systemd-container <none>
pn systemd-homed <none>
pn systemd-resolved <none>
pn systemd-userdbd <none>
Versions of packages systemd is related to:
ii dbus-user-session 1.14.10-1~deb12u1
pn dracut <none>
ii initramfs-tools 0.142
ii libnss-systemd 252.26-1~deb12u2
ii libpam-systemd 252.26-1~deb12u2
ii udev 252.26-1~deb12u2
- -- Configuration Files:
/etc/systemd/journald.conf changed:
[Journal]
MaxFileSec=7day
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmaWS4YACgkQrh+Cd8S0
17ZwOA/+KHdPcvNvw+NU3Pl3ECzfqOPN16U38PcCti/GIJwBBWPvq6u28aYyOqLv
wpcGKrEGhE1poHgBBKB1i0JY9Xj0X243osdNFdhc/g6+pCP9WaVIY493JPXY2+mB
3t6KASCk4dZJMtxjWBG/ybCoYmBQ1e2Dc5fyCsfQkUXhB9KAexiBd8VmUURdlCuK
NPJuA8sP5e4vl9oeffgK1gPdywkiL78TX3CLUhTQkd1Mw3GKmFyR5+beImkckf4e
P8S5bKfq9+A2Eoay4VloiAP7Bcx1gEmMfVwtpYC3ETe5E/YFEOe70hyPdac0Wats
orsGkzmnX0XFwbk3q35oD7tCfTQ4eHV/ri8QwE0WBd9aSgWW5sjnwX8R6zxAI2sr
fTWejEuUVN47hMBcQVTKfApW8V2sKWlWnb0Z0TL2RU13wqGzmDmuOxdWyOvrTNCW
PREi8wE5PHRFdTYdE2vwvKWvx4Ub8Ay3VNLTx2dRBlMsqqiKPHsUUMRlyknK/rAw
pKdhrPrWr+IC+rMbBiWwXrw9NRYCZcQXh5HRclVT+ZjR9eLXu1LHcFeieeK1cecr
0cb/krlAyPSxkwA/o7sQEB+jbAz9LguFaSVRctS8tkSVS0YZ6hoN6ir3BtWFoSOq
XkSq0BdTyNpqKIi2IRfzXFFoQA8fJg6AMNEX/F4cp0duuc2SLbg=
=rvYg
-----END PGP SIGNATURE-----
More information about the Pkg-systemd-maintainers
mailing list