[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: etc/resolvconf/update-libc.d/ equivalent for systemd-resolved



On Thursday, December 30, 2021 2:35:56 AM EST Bastian Blank wrote:
> On Wed, Dec 29, 2021 at 04:35:22PM -0500, Scott Kitterman wrote:
> > The postfix package ships a script in /etc/resolvconf/update-libc.d/ to
> > restart postfix when resolv.conf is updated.  As far as I know, that
> > still works if the resolvconf package is installed, but if not (i.e.
> > Debian default), what's the equivalent?  Does systemd-resolved have an
> > equivalent?  Should users that want this functionality install
> > resolvconf?
> 
> Why do you need to restart services on resolv.conf changes?  The libc
> resolver takes care of it by re-reading the file after it changed.

Because postfix doesn't.  Also, the copy of the file in the chroot needs to be 
updated.

Scott K

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: