Your message dated
with message-id
and subject line Re: Bug#1130573: cloud-init: IPv6 default route rendered
incorrectly
has caused the Debian Bug report #1130573,
regarding cloud-init: IPv6 default route rendered incorrectly
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1130573: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1130573
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cloud-init
Version: 22.4.2-1+deb12u3
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
Attempting to set IPv6 default route using "to: ::/0" under the "routes"
section in the network-config. However, cloud-init instead configures a route
to "::/64".
cloud-init network-config:
network:
version: 2
ethernets:
ens192:
addresses:
- 10.0.0.2/24
- 2001:db8:1::2/64
routes:
- to: 0.0.0.0/0
via: 10.0.0.1
- to: ::/0
via: 2001:db8:1::1
cloud-init rendered network config:
auto lo
iface lo inet loopback
auto ens192
iface ens192 inet static
address 10.0.0.2/24
post-up route add default gw 10.0.0.1 || true
pre-down route del default gw 10.0.0.1 || true
post-up route add -A inet6 ::/64 gw 2001:db8:1::1 || true
pre-down route del -A inet6 ::/64 gw 2001:db8:1::1 || true
iface ens192 inet6 static
address 2001:db8:1::2/64
I believe this has already been fixed upstream:
https://github.com/canonical/cloud-init/pull/1973.
It is possible to backport this fix to Debian 12?
-- System Information:
Debian Release: 12.12
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500,
'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-40-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cloud-init depends on:
ii eject 2.38.1-5+deb12u3
ii fdisk 2.38.1-5+deb12u3
ii gdisk 1.0.9-2.1
ii isc-dhcp-client 4.4.3-P1-2
ii locales 2.36-9+deb12u13
ii lsb-release 12.0-1
ii procps 2:4.0.2-3
ii python3 3.11.2-1+b1
ii python3-configobj 5.0.8-1
ii python3-jinja2 3.1.2-1+deb12u3
ii python3-jsonpatch 1.32-2
ii python3-jsonschema 4.10.3-1
ii python3-netifaces 0.11.0-2+b1
ii python3-oauthlib 3.2.2-1
ii python3-requests 2.28.1+dfsg-1
ii python3-serial 3.5-1.1
ii python3-yaml 6.0-3+b2
ii sysvinit-utils [lsb-base] 3.06-4
ii util-linux 2.38.1-5+deb12u3
Versions of packages cloud-init recommends:
ii cloud-guest-utils 0.33-1
ii eatmydata 130-2
ii sudo 1.9.13p3-1+deb12u2
Versions of packages cloud-init suggests:
pn btrfs-progs <none>
ii e2fsprogs 1.47.0-2+b2
pn xfsprogs <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 23.2-1
The ::/0 route is rendered as a default route since 23.2.
--- End Message ---