Your message dated Tue, 02 Apr 2024 13:34:58 +0000
with message-id <e1rrehy-00hu16...@fasolo.debian.org>
and subject line Bug#1063772: fixed in postfix 3.9.0-2
has caused the Debian Bug report #1063772,
regarding postfix-mysql upgrade add map in dynamicmaps.cf after postfix restart
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1063772: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063772
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: postfix-mysql
Version: 3.7.10-0+deb12u1
Severity: normal

Dear Maintainer,

Today some of our servers upgraded there postfix and postfix-mysql
packages. After upgrade we see these messages in postfix logs and of
course we can't send mail anymore:

postfix/proxymap[2428105]: warning:
mysql:/etc/postfix/mysql-virtual-alias-maps.cf is unavailable.
unsupported dictionary type: mysql
postfix/trivial-rewrite[2428104]: warning: virtual_alias_domains:
proxy:mysql:/etc/postfix/mysql-virtual-alias-maps.cf: table lookup
problem
postfix/trivial-rewrite[2428104]: warning: virtual_alias_domains lookup
failure

In /etc/postfix/dynamicmaps.cf postfix-mysql map appear so we restart
postfix and everything is back again.

In apt logs we found that postfix is configured before postfix-mysql
finish his configuration:

Préparation du dépaquetage de
.../postfix-sqlite_3.7.10-0+deb12u1_amd64.deb ...
Removing sqlite map entry from /etc/postfix/dynamicmaps.cf
Dépaquetage de postfix-sqlite (3.7.10-0+deb12u1) sur (3.7.9-0+deb12u1)
...
Préparation du dépaquetage de
.../postfix-pcre_3.7.10-0+deb12u1_amd64.deb ...
Removing pcre map entry from /etc/postfix/dynamicmaps.cf
Dépaquetage de postfix-pcre (3.7.10-0+deb12u1) sur (3.7.9-0+deb12u1) ...
Préparation du dépaquetage de
.../postfix-mysql_3.7.10-0+deb12u1_amd64.deb ...
Removing mysql map entry from /etc/postfix/dynamicmaps.cf
Dépaquetage de postfix-mysql (3.7.10-0+deb12u1) sur (3.7.9-0+deb12u1)
...
Préparation du dépaquetage de .../postfix_3.7.10-0+deb12u1_amd64.deb ...
/etc/postfix/main.cf.proto modified, not updating.
Dépaquetage de postfix (3.7.10-0+deb12u1) sur (3.7.9-0+deb12u1) ...
Préparation du dépaquetage de .../postfix-doc_3.7.10-0+deb12u1_all.deb
...
Dépaquetage de postfix-doc (3.7.10-0+deb12u1) sur (3.7.9-0+deb12u1) ...
Paramétrage de postfix (3.7.10-0+deb12u1) ...

Postfix (main.cf) configuration was not changed.  If you need to make
changes, 
edit /etc/postfix/main.cf (and others) as needed.  To view Postfix 
configuration values, see postconf(1).

After modifying main.cf, be sure to run 'systemctl reload postfix'.

Paramétrage de postfix-doc (3.7.10-0+deb12u1) ...
Paramétrage de postfix-pcre (3.7.10-0+deb12u1) ...
Adding pcre map entry to /etc/postfix/dynamicmaps.cf
Paramétrage de postfix-sqlite (3.7.10-0+deb12u1) ...
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Paramétrage de postfix-mysql (3.7.10-0+deb12u1) ...
Adding mysql map entry to /etc/postfix/dynamicmaps.cf
Traitement des actions différées (« triggers ») pour man-db
(2.11.2-2) ...


So, in correlation with other logs we found that postfix is restarted
before postfix-mysql add mysql map in dynamicmaps.cf.

We have observed this scenario with postfix-pgsql, postfix-sqlite and
postfix-pcre packages.

Not sure but these packages have Breaks control field in Debian 10 and
Debian 11. This control field doesn't appear in Debian 12. For example:
Debian 12: 
https://tracker.debian.org/media/packages/p/postfix/control-3.7.10-0deb12u1
Debian 11:
https://tracker.debian.org/media/packages/p/postfix/control-3.5.24-0deb11u1

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.2.16-19-pve (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages postfix-mysql depends on:
ii  libc6        2.36-9+deb12u4
ii  libmariadb3  1:10.11.6-0+deb12u1
ii  postfix      3.7.10-0+deb12u1

postfix-mysql recommends no packages.

postfix-mysql suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: postfix
Source-Version: 3.9.0-2
Done: Scott Kitterman <sc...@kitterman.com>

We believe that the bug you reported is fixed in the latest version of
postfix, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1063...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <sc...@kitterman.com> (supplier of updated postfix package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 02 Apr 2024 09:08:31 -0400
Source: postfix
Architecture: source
Version: 3.9.0-2
Distribution: unstable
Urgency: medium
Maintainer: LaMont Jones <lam...@debian.org>
Changed-By: Scott Kitterman <sc...@kitterman.com>
Closes: 1063772 1067483
Changes:
 postfix (3.9.0-2) unstable; urgency=medium
 .
   * Add debian/postfix-collate to debian/clean
   * Restart postfix via trigger after new map type packages are added.
     Closes: #1063772
   * Add d/p/reproducible to restore AUXLIBS sort missed when original patch
     was upstreamed.  Closes: #1067483
Checksums-Sha1:
 01c5e82fa4056f433d10660033c639a3a0b9575e 3101 postfix_3.9.0-2.dsc
 1910f52ab8b46fa6e54739b56453717bf9563498 199112 postfix_3.9.0-2.debian.tar.xz
 86b58a8ac7c34b85b7f788f9496c87f41f0e033e 7290 postfix_3.9.0-2_source.buildinfo
Checksums-Sha256:
 17c38ad31dace763e925722f44fe727427dd76ef81839c7683faf73b3f24576a 3101 
postfix_3.9.0-2.dsc
 f914327bc289e12afeb0f2eba0ed62bf0db645c333f26362a32d143f559ca083 199112 
postfix_3.9.0-2.debian.tar.xz
 bb8e5b414717a2fc3b9545887d20e7313e5f3724cefcfa9e24aac54dfdbd8235 7290 
postfix_3.9.0-2_source.buildinfo
Files:
 97603131ac38ec0af3bec4b9937cca64 3101 mail optional postfix_3.9.0-2.dsc
 7512a1adf89362c4bbadfad0b1262556 199112 mail optional 
postfix_3.9.0-2.debian.tar.xz
 2030cd207f9dff06855bed302e536941 7290 mail optional 
postfix_3.9.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAmYMBZMACgkQeNfe+5rV
mvG+yQ//RPY9W6JhgUw13D7xEgHKPwJSdmN48L17nMOEDK8Tkhj7mjLWbMn9DgpE
yA/Jl2wg0KA9VKXkrjj/7S5vd/wZtd6keIwTzjs9humVhZhfutfHL+0sYw/mMa+7
CE8QyJ1w3Tk2JiCw3ySOBBAVPj4Yjema75evag/QaJzDyTbk84w2KmFFekf0HhCv
Gh5KzhninWpK7u8TYSjKrca2F44EQyu3DaSjwoMgqoqUtCdKcVzz/g37/COl9pZa
ne3YfG5ASytAaGrKGxlNN1IZgUg9ayCimBLlCgFvV60Yt5WndW6fm6Ns/wWMebA9
3jmPczpyFp7ZgKJ8Gp/igC0oFxnrCI2Y6sSwBlXKrOwuUW/YrZZV7qTHTrm0zaXw
DXL3ixI7A1tb+VKoBnTyD2g9VK7WmPsPyQvJEFeQopPFIXz7BdPW9IEidAwKhTEL
fzCTFYcYyR9U+OcUXmFDRFR0W59ydxZvYxrTQZR49Qiv6UsodkVpWSHgHprq/nwG
LabwlGkzdv03sSjQ3MFI6NERW8tDnd9cv98dTKCx19f+AKUiPWW2VALs4k5tbPIw
6n+hpgQJmfSHEkHi6jHR8fagF3ATLHdGcuEpLEPsfhJTpH60ym2wUg5s4/V/p26e
azvXGGbjYR92Gl7aOQb9slm5soBs8lbT7fx0kRExc6eh6/2jUF0=
=2jla
-----END PGP SIGNATURE-----

Attachment: pgpByffQCyAUL.pgp
Description: PGP signature


--- End Message ---

Reply via email to