Bug 1217862 - First start of postifx with systemctl start postfix.service mangles the config file
Summary: First start of postifx with systemctl start postfix.service mangles the confi...
Status: IN_PROGRESS
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.5
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Peter Varkoly
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-06 21:15 UTC by Roy Bellingan
Modified: 2024-01-04 07:00 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Bellingan 2023-12-06 21:15:41 UTC
Maybe related to 1013868 ?

Installing a new suse15.5 (using lxc with fingerprint d36482cdb85c)

If I edit the /etc/postfix/main.cf adding somethig like

relayhost = 10.151.156.1
myhostname = carige.xyz

And than I do

systemctl start postfix.service

it is mangled and became this

relayhost = 
myhostname = carigexyz

o.O

If I start instead with 

postfix start

It will warn of overriding 
/usr/sbin/postconf: warning: /etc/postfix/main.cf, line 843: overriding earlier entry: relayhost=
/usr/sbin/postconf: warning: /etc/postfix/main.cf, line 844: overriding earlier entry: myhostname=localhost

but else will not touch the config...

There are other element of the config file that got altered, but those do not incur on any problem.

A full video of the event is here https://seisho.us/swap/weirdbug.mkv

o.O