#1035803 resolvconf: dns-search entries for lo.inet are absent from /run/resolvconf/interface/lo.inet file

#1035803#5
Date:
2023-05-09 11:43:59 UTC
From:
To:
Dear Maintainer,

Lines like

iface lo inet loopback
dns-search a.example.com b.example.com

in /etc/network/interfaces no longer causes the corresponding entries to show up in /etc/resolv.conf in bookworm, while they did show up in bullseye.

The file /run/resolvconf/interface/lo.inet contains just a single newline after running "ifdown lo; ifup lo".

From what I can see, the update script /etc/network/if-up.d/000resolvconf runs succesfully, creating the expected lo.inet file, but then that file is somehow immediately replaced by the nearly empty file.

A workaround is to make the entries end up in lo.inet6 instead:

iface lo inet6 loopback
dns-search a.example.com b.example.com

which seems to work fine.

I am sorry I have not beeen able to nail down the cause of this problem, but thanks for maintaining resolvconf in Debian.
Arne