Hello.

In Arch Linux, almost every time I update postfix, the following line:

```
meta_directory = /etc/postfix
```

in the `/etc/postfix/main.cf` file changes it position. This creates a 
`.pacnew` file unnecessarily. To me, it looks like the line is jumping around 
this line:

```
shlib_directory = /usr/lib/postfix
```

here and back, at the end of the config file. The example of a diff between 
`3.10.4-1` and `3.10.4-2` is as follows:

```
$ diff -u /etc/postfix/main.cf~ /etc/postfix/main.cf.pacnew
--- /etc/postfix/main.cf~       2025-08-19 08:08:28.000000000 +0200
+++ /etc/postfix/main.cf.pacnew 2025-09-16 19:21:53.000000000 +0200
@@ -685,5 +685,5 @@
 #
 readme_directory = /usr/share/doc/postfix
 inet_protocols = ipv4
-meta_directory = /etc/postfix
 shlib_directory = /usr/lib/postfix
+meta_directory = /etc/postfix
```

The logs from the upgrade process:

```
…
Package (7)             Old Version  New Version  Net Change  Download Size
…
extra/postfix           3.10.4-1     3.10.4-2       0,00 MiB       1,36 MiB
…
(5/7) upgrading postfix                                                         
                         
[##############################################################] 100%
warning: /etc/postfix/main.cf installed as /etc/postfix/main.cf.pacnew
…
```

The symptom looks like a build reproducibility issue.

I've reported this to the Arch maintainers here:

https://gitlab.archlinux.org/archlinux/packaging/packages/postfix/-/issues/13

But I'm also reporting this to the postfix project directly as it might be an 
upstream issue.

Please check.

Thank you.

-- 
Oleksandr Natalenko, MSE

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

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to