[Bug 1531299] Re: 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 22:02:27 UTC 2016


This only seems to fail on "cross" builds, where we modify arm64 images via chroot using qemu-static.
We can get the apt-get upgrade out of the way and see the failure with just the following:

$ sudo apt-get install -qy qemu-user-static

$ arm64_img_url=http://cloud-images.ubuntu.com/daily/server/xenial/20151212/xenial-server-cloudimg-arm64.tar.gz
$ wget "$arm64_img_url" -O xenial-server-cloudimg-arm64.tar.gz
$ tar -xvzf xenial-server-cloudimg-arm64.tar.gz
$ ls -l xenial-server-cloudimg-arm64.img
-rw-r--r-- 1 ubuntu ubuntu 1426063360 Dec 13 00:22 xenial-server-cloudimg-arm64.img

$ cp --sparse=always xenial-server-cloudimg-arm64.img root.img
$ sudo mount -o loop root.img /mnt
$ sudo cp /usr/bin/qemu-aarch64-static /mnt/usr/bin/qemu-aarch64-static
$ sudo chroot /mnt/ /usr/bin/newaliases
newaliases: fatal: inet_addr_local[getifaddrs]: getifaddrs: Address family not supported by protocol


Note, mounting additional filesystems (/proc and /sys) does not seem to help.  

** Bug watch added: Debian Bug tracker #759896
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759896

** Also affects: postfix (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759896
   Importance: Unknown
       Status: Unknown

-- 
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