Open jaqxues opened 10 months ago
@jaqxues what does ifupdown1
do in that case?
Maybe you can write your own wrapper around resolvconf to ignore it.
I tested what ifupdown1
does with bonds (not bridges, so slightly different network interfaces file). It calls the hook twice, once with ADDRFAM=inet and once for ADDRFAM=inet6.
Currently ifupdown2
seems to even ignore the IF_ADDRESS
for inet6
as seen in these configurations...
/etc/network/interfaces.d/bond0
So, if present, we have to run all hook for each address family? It would be better if each hook would handle the comma syntax though. But if this is what ifupdown1 does, then i'm okay with it, feel free to submit a PR.
Apparently resolvconf has a fix on debian that can handle comma separated...
We have the following configuration:
/etc/network/interfaces
For vmbr1, we specify the dns-nameservers etc. We include inet and inet6 configurations. This makes
ifupdown2
pass an ADDRFAM value to resolvconf that looks likeinet,inet6
which is not supported by the resolvconf hook for ifupdown2.Is this an issue of
ifupdown2
orresolvconf
? I would argue thatifupdown2
should followifupdown
in this case to not break compatibility.