On 2022-01-21 11:17:56 +0100, Vincent Lefevre wrote: > On 2022-01-21 00:55:09 -0500, Scott Kitterman wrote: > > Thanks. I've added another commit to document this in README.Debian and to > > not enable these on install (since reloading the system does have a cost > > and > > this isn't relevant for most systems). It will be included in the next > > upload. > > Well, while reloading the system might not be relevant for most > systems (by default, the daemons that run in the chroot are tlsmgr > and pickup, but I don't think that they need network access), I think > that updating resolv.conf in the chroot may be needed at least on > laptops, whose network can change due to the use of various wifi > access points: in /etc/postfix/master.cf, I can see > > smtp unix - - y - - smtp > > So doesn't this mean that the chroot is used when sending mail?
Moreover, I don't think that reloading the system is useful in any case. AFAIK, the resolv.conf file is not used directly by postfix itself, but by the C library, which does not cache its contents, since it may change at any time and many running programs (not just daemons) use it via the C library. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)