Control: tag -1 - moreinfo

On 2025-09-16  21:09, Michael Tokarev wrote:

> On 16.09.2025 21:47, Farblos wrote:
> 
>>    Sep 15 10:50:51 host01 postfix[27587]: updating /etc/host.conf => /
>> var/spool/postfix//etc/host.conf
> 
> This should happen just once when the mail system is first started
> after an update of the system.  On subsequent (re)start, this shouldn't
> happen anymore, as the files are up to date.
> 
> Are you saying you see this logging every time you (re)start postfix?

I haven't yet tried restarting postfix, but I can see this logging
for all *certificate files* at every reboot, as can be seen in the
following example.  Non-certificate files are indeed only mentioned
once in the journal.

  [~]$ journalctl -o short --since 2025-09-15 | grep updating | egrep 
'\.conf|6a9bdba3'
  Sep 15 10:50:51 host01 postfix[27587]: updating /etc/host.conf => 
/var/spool/postfix//etc/host.conf
  Sep 15 10:50:51 host01 postfix[27587]: updating /etc/nsswitch.conf => 
/var/spool/postfix//etc/nsswitch.conf
  Sep 15 10:50:51 host01 postfix[27745]: updating /etc/ssl/certs/6a9bdba3.0 => 
/var/spool/postfix//etc/ssl/certs/6a9bdba3.0
  Sep 15 11:13:51 host01 postfix[1794]: updating /etc/ssl/certs/6a9bdba3.0 => 
/var/spool/postfix//etc/ssl/certs/6a9bdba3.0
  Sep 15 11:21:42 host01 postfix[1796]: updating /etc/ssl/certs/6a9bdba3.0 => 
/var/spool/postfix//etc/ssl/certs/6a9bdba3.0
  Sep 16 10:41:03 host01 postfix[1861]: updating /etc/ssl/certs/6a9bdba3.0 => 
/var/spool/postfix//etc/ssl/certs/6a9bdba3.0
  Sep 16 18:01:55 host01 postfix[1973]: updating /etc/ssl/certs/6a9bdba3.0 => 
/var/spool/postfix//etc/ssl/certs/6a9bdba3.0

I tried stat(1)'ing the files below /etc/ssl/certs and
/var/spool/postfix/etc/ssl/certs, they have both identical size and
mtime when the system is running.  If you don't have any other idea,
I could try instrumenting the syncfiles.pl script and see why it
copies the certificates during every reboot ...

Thanks.

Reply via email to