This bug was fixed in the package postfix - 3.3.0-1ubuntu0.2
---
postfix (3.3.0-1ubuntu0.2) bionic; urgency=medium
[ Karl Stenerud ]
* d/postfix-{cdb,ldap,lmdb,mysql,pcre,pgsql}.postinst, d/postfix.postinst:
Handle empty alias_database field in main.cf (LP: #1791139 Closes: #9
The only dep8 failure now is sbuild on i386, and it's because of
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/1806388
That can only be fixed via an SRU of sbuild itself.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https:/
** Changed in: postfix (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791139
Title:
postfix-mysql package upgrade results in server configuration error
T
Bionic Verification
===
First, reproducing the bug. Since the postinst of other postfix-*
packages was also changed, I'm installing them as well, and not just
postfix-mysql:
ubuntu@bionic-postfix-1791139:~$ sudo apt install postfix postfix-mysql
postfix-cdb postfix-ldap postfix-l
Hello LGB, or anyone else affected,
Accepted postfix into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/postfix/3.3.0-1ubuntu0.2 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wi
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/postfix/+git/postfix/+merge/356620
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791139
Title:
postfix-mysql packa
** Changed in: postfix (Ubuntu Bionic)
Assignee: Karl Stenerud (kstenerud) => Andreas Hasenack (ahasenack)
** Changed in: postfix (Ubuntu Bionic)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
h
I confirmed it, xenial is fine, so just bionic still needs fixing.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791139
Title:
postfix-mysql package upgrade results in server configuration error
T
Karl, can you please check if the only remaining affected release is
bionic? I thought I had checked, but couldn't find a comment in the bug
about that.
** Also affects: postfix (Ubuntu Bionic)
Importance: Undecided
Status: New
** Changed in: postfix (Ubuntu Bionic)
Assignee: (unas
This bug was fixed in the package postfix - 3.3.0-1ubuntu2
---
postfix (3.3.0-1ubuntu2) cosmic; urgency=medium
Handle empty alias_database field in main.cf (LP: #1791139 Closes:
#908221)
-- Karl Stenerud Wed, 12 Sep 2018
06:06:30 +
** Changed in: postfix (Ubuntu)
St
** Changed in: postfix (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791139
Title:
postfix-mysql package upgrade results in server configuration error
To man
** Changed in: postfix (Ubuntu)
Assignee: (unassigned) => Karl Stenerud (kstenerud)
** Changed in: postfix (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/
** Merge proposal linked:
https://code.launchpad.net/~kstenerud/ubuntu/+source/postfix/+git/postfix/+merge/354654
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791139
Title:
postfix-mysql packa
** Description changed:
+ [Impact]
+
+ If a user's /etc/postfix/main.conf has an empty alias_database setting,
+ postfix-mysql.postinst fails when upgrading.
+
+ [Test Case]
+
+ Install the previous postfix and postfix-mysql:
+
+ # apt install -y postfix=3.3.0-1 postfix-mysql=3.3.0-1
+ * Inst
That construct from the broken "if" statement is used everywhere indeed:
$ grep -E "\(postconf \|grep" debian/*.postinst
debian/postfix-cdb.postinst: if [ $(postconf |grep alias_database | awk
'{print $3}'|awk -F \: \
debian/postfix-ldap.postinst: if [ $(postconf |grep alias_database
Maybe it's something to do with dynamicmaps.cf, since it seems that file
always changes throughout the upgrade of postfix related packages?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791139
Title:
By the way, I still have the suspect that something other is problematic
here as well!!
Now, I tried to upgrade a test server, where those alias maps are NOT
empty, by will. So no error messages shown with the postinst script of
the package or anything, everything seems to be ok.
Still, after upg
I don't know too much about Debian bug reporting, but anyway I've tried
here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908221
** Bug watch added: Debian Bug tracker #908221
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908221
--
You received this bug notification because you are
This bug is present in Debian too. So it would be best fixed in Debian,
and then Ubuntu will pick it up on the next merge.
Being the original reporter would you mind also filing a bug with Debian please?
If you do so report here the bug number so we can link both together.
** Tags added: needs-up
Ack to the case
Ack to the analysis
Ack to the fix being better escaping so that this isn't an issue anymore
** Tags added: bitesize
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791139
Title:
pos
Btw, maybe an even better solution for that "if":
if postconf -h alias_database | grep -q '^mysql:' ; then
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791139
Title:
postfix-mysql package upgrade
21 matches
Mail list logo