breaking the partition and packet nemeses as iptables and tc filter assume ipv4 and explicitly need an ipv6 option:
# iptables when partitioning
STDERR: iptables v1.8.9 (nf_tables): host/network `fd42:860c:838f:2817:216:3eff:fe6c:d7c7' not found
# tc filter when packeting
STDERR: Illegal "match"
This PR updates control.net/ip* to explicitly ask for ipv4 addresses with ahostsv4 vs using the default ahosts:
Hi,
Sometime in the last few months, installing:
changed
getent ahosts
behavior, (givessystemd-resolved
some root cause extended side-eye :eyes: ), to at times return ipv6 addresses vs ipv4:breaking the partition and packet nemeses as
iptables
andtc filter
assume ipv4 and explicitly need an ipv6 option:This PR updates
control.net/ip*
to explicitly ask for ipv4 addresses withahostsv4
vs using the defaultahosts
:I also considered conditionally changing the partition and packet command lines based on interpreting the ip address, regex, but that felt clunky.
I think this change will be non-breaking as:
control.net
would need to be multilingualThis has been tested on Debian Bookworm using LXD.
Thanks!