On 2024-04-30 14:59:29 +0000, Bastien Roucariès wrote: > Le mardi 30 avril 2024, 14:52:46 UTC Vincent Lefevre a écrit : > Hi, > > > Control: tags -1 security > > > > On 2024-04-30 16:33:14 +0200, Vincent Lefevre wrote: > > > If I try to restart postfix, I get: > > > > > > postfix/postfix-script: warning: /var/spool/postfix/etc/resolv.conf and > > > /etc/resolv.conf differ > > A solution may be to bind mount ro /etc/resolv.conf to > /var/spool/postfix/etc/resolv.conf
Any news? Note that even with a fixed network configuration, the current setting is broken. It seems that postfix systematically rewrites /var/spool/postfix/etc/resolv.conf at boot time, and it does that too soon. qaa:~> ll /var/spool/postfix/etc/resolv.conf -rw-r--r-- 1 root root 65 2024-06-13 19:06:31 /var/spool/postfix/etc/resolv.conf qaa:~> cat /var/spool/postfix/etc/resolv.conf # Generated by NetworkManager search home nameserver 192.168.1.1 It misses the IPv6 addresses, which have been added 1 second later: qaa:~> ll /etc/resolv.conf -rw-r--r-- 1 root root 163 2024-06-13 19:06:32 /etc/resolv.conf qaa:~> cat /etc/resolv.conf # Generated by NetworkManager search home nameserver 192.168.1.1 nameserver fe80::8ef8:13ff:fe53:3884%wlp0s20f3 nameserver 2a01:cb19:8120:d600:8ef8:13ff:fe53:3884 -- 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)