Re: etc/resolvconf/update-libc.d/ equivalent for systemd-resolved
Hi,
On Thu, 30 Dec 2021, at 19:54, Michael Biebl wrote:
> On 29.12.21 22:35, Scott Kitterman wrote:
>> The postfix package ships a script in /etc/resolvconf/update-libc.d/ to restart
>> postfix when resolv.conf is updated.
>
> Why copy the file? Couldn't you bind mount it into the chroot so you
> don't need to update it everytime the host /etc/resolv.conf changes?
As far as I remember, resolvconf replaces /etc/resolv.conf when it updates it, so the chroot will end up with an old version of the file.
--
Cheers,
Andrej
Reply to: