Comment 2 for bug 1934381

Revision history for this message
Utkarsh Gupta (utkarsh) wrote : Re: package postfix 3.5.6-1 failed to install/upgrade: installed postfix package post-installation script subprocess returned error exit status 75

Hello,

Thanks for filing the bug and helping in making Ubuntu Server better!

From your logs, I see:
> newaliases: fatal: file /etc/postfix/main.cf: parameter
> myhostname: bad parameter value: saturn..

You need to set a valid hostname. This isn't really a package bug (this behavior is
by design), but a local configuration issue, I believe.

However, I tried to reproduce the bug as you mentioned but wasn't able to. In a Hirsute (21.04) VM, I installed postfix, configured it as you mentioned, did upgrade, and finally upgrade to Impish (the devel release) but both the upgrade went fix. I used hostname=xdesk and whilst I can confirm that it did add two dots but as I mentioned, the upgrade went OK.

$ grep myhostname /etc/postfix/main.cf
[...]
myhostname = xdesk..
[...]

Although your log shows that this is what caused the problem, I'd like to ask if you can help me layout a reproducer (that is, steps to reproduce this bug) so that we can help fix this?

Also, since we are in sync with the version of postfix in Debian (that is, 3.5.6-1)[1], can you please forward this bug report to Debian? Scott is an active maintainer and once this is fixed there, the fix will land here in Impish (the next release) and we can further backport (SRU) this fix to older releases, depending upon the patch and its details, et al. Thanks!

[1]: https://tracker.debian.org/pkg/postfix