Bug 20846 - HashBang in /etc/init.d/postfix kommt zu spät
HashBang in /etc/init.d/postfix kommt zu spät
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 2.4-2
Assigned To: Jascha Geerds
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-01 12:45 CET by Sönke Schwardt-Krummrich
Modified: 2011-04-04 15:48 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 2010-12-01 12:45:18 CET
Das HashBang in conffiles/etc/init.d/postfix kommt erst nach dem UCR-Header und damit zu spät. Dadurch wird das Skript z.B. im Listener-Modul mailrelay.py nicht ausgeführt. 
Achtung: beim Test auf der Kommandozeile funktioniert die Ausführung des Skriptes, weil hier die Bash gleich übernimmt.

Betroffen sind die Pakete univention-mail-postfix-kolab2, 
univention-mail-postfix-forward und univention-mail-postfix
Comment 1 Jascha Geerds univentionstaff 2011-01-05 16:36:02 CET
Ich habe die betroffenen Pakete angepasst, der Bug ist nun behoben.

Changelog-Eintrag ist vorhanden.


Fixed!
Comment 2 Felix Botner univentionstaff 2011-03-03 10:10:41 CET
OK

kolab2
-> dpkg -l univention-mail-postfix-kolab2 
ii  univention-mail-postfix-kolab 4.0.8-1.137.201101051618

-> head -1  /etc/init.d/postfix
#!/bin/sh -e

foreward
-> dpkg -l univention-mail-postfix-forward 
ii  univention-mail-postfix-forwa 3.0.2-1.62.201101051614

-> head -1  /etc/init.d/postfix
#!/bin/sh -e

postfix
-> dpkg -l univention-mail-postfix
ii  univention-mail-postfix       3.0.6-1.133.201101051610 

-> head -1  /etc/init.d/postfix
#!/bin/sh -e

Changelog Eintrag vorhanden.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2011-04-04 15:48:37 CEST
UCS 2.4-2 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden:
"Clone This Bug".