[Bug 1531299] [NEW] postfix upgrade can fail due to "newaliases: fatal: inet_addr_local[getifaddrs]: getifaddrs: Address family not supported by protocol"

Scott Moser smoser at ubuntu.com
Tue Jan 5 21:24:46 UTC 2016


Public bug reported:

this happened during a maas image build, but I assume it can happen
elsewhere though i've not seen it fail.  its likely a result of postfix
recently having made it into the cloud image, pulled in by recommends of
mdadm.

apt-get dist-upgrade 
...
13:36:01  Setting up lxd-client (0.25-0ubuntu1) ...
13:36:01  Setting up postfix (2.11.3-1ubuntu3) ...
13:36:08  
13:36:08  Postfix configuration was untouched.  If you need to make changes, edit
13:36:08  /etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
13:36:08  values, see postconf(1).
13:36:08  
13:36:08  After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
13:36:08  
13:36:09  Running newaliases
13:36:09  newaliases: fatal: inet_addr_local[getifaddrs]: getifaddrs: Address family not supported by protocol
13:36:10  dpkg: error processing package postfix (--configure):
13:36:10   subprocess installed post-installation script returned error exit status 75
13:36:10  Setting up python-cffi-backend (1.4.2-2ubuntu1) ...
...

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: postfix 2.11.3-1ubuntu2
ProcVersionSignature: User Name 4.3.0-2.11-generic 4.3.0
Uname: Linux 4.3.0-2-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
Date: Tue Jan  5 21:00:22 2016
DuplicateSignature: InvalidHostOrDomain
Ec2AMI: ami-0000072f
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: None
Ec2Ramdisk: None
EtcMailname: localhost.localdomain
Hostname: Error: command ['hostname', '--fqdn'] failed with exit code 1: hostname: Name or service not known
PostconfMydomain: localdomain
PostconfMyhostname: localhost.localdomain
PostconfMyorigin: /etc/mailname
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ResolvConf:
 # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
 #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
 nameserver 10.245.160.2
 search openstacklocal
SourcePackage: postfix
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: postfix (Ubuntu)
     Importance: Medium
         Status: Confirmed


** Tags: amd64 apport-bug ec2-images need-duplicate-check xenial

** Attachment added: "partial output of maas image build process that failed"
   https://bugs.launchpad.net/bugs/1531299/+attachment/4544564/+files/my.log

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

Title:
  postfix upgrade can fail due to "newaliases: fatal:
  inet_addr_local[getifaddrs]: getifaddrs: Address family not supported
  by protocol"

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



More information about the Ubuntu-server-bugs mailing list