[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-12-13 Thread Launchpad Bug Tracker
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:

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-12-03 Thread Andreas Hasenack
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.

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-12-03 Thread Andreas Hasenack
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 Server, which is subscribed to the bug

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-11-07 Thread Bug Watch Updater
** 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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-26 Thread Andreas Hasenack
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-26 Thread Andreas Hasenack
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-23 Thread Brian Murray
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-11 Thread Launchpad Bug Tracker
** 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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-11 Thread Andreas Hasenack
** 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 Server, which is subscribed to the

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-11 Thread Andreas Hasenack
** 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.

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-09 Thread Andreas Hasenack
I confirmed it, xenial is fine, so just bionic still needs fixing. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1791139 Title: postfix-mysql package upgrade results in server

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-09 Thread Andreas Hasenack
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-04 Thread Andreas Hasenack
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:

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-04 Thread Andreas Hasenack
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:

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-10-03 Thread Launchpad Bug Tracker
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)

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-11 Thread Bug Watch Updater
** 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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-11 Thread Andreas Hasenack
** 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 Server, which is subscribed to the bug report.

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-11 Thread Andreas Hasenack
** 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.

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-10 Thread Andreas Hasenack
** 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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-10 Thread Andreas Hasenack
** 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 Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1791139 Title:

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-10 Thread Karl Stenerud
** 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 + *

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-10 Thread Andreas Hasenack
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-10 Thread Andreas Hasenack
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-08 Thread LGB [Gábor Lénárt]
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-08 Thread LGB [Gábor Lénárt]
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-07 Thread LGB [Gábor Lénárt]
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

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-07 Thread  Christian Ehrhardt 
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:

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-07 Thread  Christian Ehrhardt 
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:

[Bug 1791139] Re: postfix-mysql package upgrade results in server configuration error

2018-09-06 Thread LGB [Gábor Lénárt]
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