Bug 51504 - UCS 5: postconf: fatal: open /etc/postfix/main.cf: No such file or directory
UCS 5: postconf: fatal: open /etc/postfix/main.cf: No such file or directory
Status: CLOSED DUPLICATE of bug 52842
Product: UCS
Classification: Unclassified
Component: Mail
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Sönke Schwardt-Krummrich
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-06-16 16:29 CEST by Florian Best
Modified: 2021-05-25 16:02 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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 Florian Best univentionstaff 2020-06-16 16:29:57 CEST
I see often the following error message when settings UCR variables:

# ucr set interfaces/ens3/broadcast=10.207.255.255 interfaces/ens3/netmask=255.255.0.0
Setting interfaces/ens3/broadcast
Setting interfaces/ens3/netmask
Multifile: /etc/network/interfaces
postconf: fatal: open /etc/postfix/main.cf: No such file or directory
fail: univention-directory-listener: unable to change to service directory: file does not exist
File: /etc/dhcp/dhclient.conf
postconf: fatal: open /etc/postfix/main.cf: No such file or directory
File: /etc/motd.setup
File: /etc/welcome.msg
File: /usr/share/univention-management-console/meta.json
File: /etc/issue

I cound't find the root cause, where this is triggered?
postfix is installed, univention-mail-* not.
Comment 1 Daniel Tröder univentionstaff 2020-06-17 09:00:30 CEST
This happens during system setup, when "postfix" is already installed, but before univention-mail-postfix is installed.
Comment 2 Florian Best univentionstaff 2020-06-22 19:05:35 CEST
(In reply to Daniel Tröder from comment #1)
> This happens during system setup, when "postfix" is already installed, but
> before univention-mail-postfix is installed.

It's interestring why postfix is then now installed on the DVD but univention-mail-postfix not - before USS runs.

This bug might be just closed as invalid, as this doesn't happen after installing univention-mail-postfix.
Comment 3 Florian Best univentionstaff 2021-03-02 18:41:36 CET

*** This bug has been marked as a duplicate of bug 52842 ***
Comment 4 Florian Best univentionstaff 2021-03-02 18:42:25 CET
The error messages have been fixed by moving the user creation before the #DEBHELPER#.
Comment 5 Florian Best univentionstaff 2021-05-25 16:02:13 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

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