cannot open /etc/mailname: No such file

Bug #1972745 reported by Xav Paice
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
charm-postfix-relay
Fix Released
Undecided
Unassigned

Bug Description

After install, syslog has a number of messages stating that /etc/mailname does not exist, and postfix does not start. I manually populated the file, and postfix started OK.

Related branches

Revision history for this message
Loïc Gomez (kotodama) wrote :

It also prevents the charm to install without getting blocked.

Revision history for this message
Haw Loeung (hloeung) wrote :

I think this relied on lp:basenode setting up and installing that file.

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

It's probably worth just doing `uname -n > /etc/mailname` at an early stage of the charm, or overriding the `myorigin = /etc/mailname` in `/etc/postfix/main.cf`.

Tianqi Xiao (txiao)
Changed in charm-postfix-relay:
status: New → Fix Committed
Ashley James (dashmage)
Changed in charm-postfix-relay:
milestone: none → 23.07
Ashley James (dashmage)
Changed in charm-postfix-relay:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.