[Bug 1027061] Re: Postfix upgrade to 2.9.3-2~12.04.1 changes configuration files

Mephisto 1027061 at bugs.launchpad.net
Mon Nov 19 13:57:13 UTC 2012


Today I had to install postfix again, but manually (entering apt-get install on commandline) and saw in the console output the following lines:
setting inet_interfaces: loopback-only

This reminded me of this issue and gave me a clue where the problem is.
I think the problem is not directly with debconf but with the postinst
script in the package. It contains the following lines:

db_get postfix/main_mailer_type && mailer="$RET"
if [ "$mailer" != "No configuration" ]; then
  db_fget postfix/main_mailer_type changed
  if [ "$RET" = "true" ]; then
    echo "setting inet_interfaces: $val"
    set_postconf "inet_interfaces=$val"

I checked on our production server and as expected, postfix/main_mailer_type has no value:
$ debconf-get-selections | grep postfix/main_mailer_type
postfix	postfix/main_mailer_type	select	
$

I think this script should be patched to support empty values and treat
them as "dont change any configuration at all", since no value means the
user did not even choose any option, so doesn't want the package to
configure the mail server.

** Package changed: puppet (Ubuntu) => postfix (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/1027061

Title:
  Postfix upgrade to 2.9.3-2~12.04.1 changes configuration files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1027061/+subscriptions



More information about the Ubuntu-server-bugs mailing list