Bug 27000 - Falsche Reihenfolge beim Aktualisieren von /etc/postfix/transport
Falsche Reihenfolge beim Aktualisieren von /etc/postfix/transport
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-2
Assigned To: Felix Botner
Sönke Schwardt-Krummrich
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-05 18:18 CEST by Sönke Schwardt-Krummrich
Modified: 2012-07-20 15:25 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2012-05-05 18:18:37 CEST
univention-mail-postfix.univention-config-registry:
[...]
Type: module
Module: mail_hosteddomains.py
Variables: mail/hosteddomains
Variables: mail/maps/transport/.*
[...]
Type: subfile
Multifile: etc/postfix/transport
Subfile: etc/postfix/transport.d/10_base
Variables: mail/maps/transport/.*

Hier ist nicht sichergestellt, dass mail_hosteddomains.py (btw: name irreführend!)
die /etc/postfix/transport via postmap in eine transport.db umwandelt, NACHDEM
die /etc/postfix/transport neu erstellt wurde. Die Reihenfolge kann auch umgekehrt sein, was auf dem Testsystem der Fall war (für Lösung siehe auch Bug 26412).

Änderungen über die UCR-Variable werden daher ggf. nicht vom postfix übernommen, obwohl alles "richtig" gesetzt wurde.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2012-05-05 18:19:17 CEST
Workaround: UCR-Variable nochmal mit dem gleichen Wert setzen.
Comment 2 Felix Botner univentionstaff 2012-06-07 16:54:24 CEST
OK, wie in Bug #26412 gefixt (module entfernt, beim ucr set wird dann, nachdem die Konfiguration geschrieben wurde /etc/univention/templates/scripts/$full_path_to_file ausgeführt.)
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2012-07-02 17:54:16 CEST
transport.db wird jetzt bei jedem Neuerstellen von /etc/postfix/transport aufgerufen. Changelogeintrag ist vorhanden.
Comment 4 Stefan Gohmann univentionstaff 2012-07-20 15:25:27 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".