Debian Bug report logs -
#759896
postfix: Package installation fails during setup when running newaliases
Reported by: votdev <votdev@gmx.de>
Date: Sat, 30 Aug 2014 20:54:01 UTC
Severity: important
Tags: wontfix
Found in version postfix/2.9.6-2
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#759896; Package postfix.
(Sat, 30 Aug 2014 20:54:06 GMT) (full text, mbox, link).
Acknowledgement sent
to votdev <votdev@gmx.de>:
New Bug report received and forwarded. Copy sent to LaMont Jones <lamont@debian.org>.
(Sat, 30 Aug 2014 20:54:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: postfix
Version: 2.9.6-2
Severity: important
While building a Wheezy armhf image with live-build which installs postfix as an additional package the configuration process fails with the message:
newaliases: fatal: inet_addr_local[getifaddrs]: getifaddrs: Address family not supported by protocol
The relevant information from build.log:
Setting up postfix (2.9.6-2) ...
Adding group `postfix' (GID 106) ...
Done.
Adding system user `postfix' (UID 102) ...
Adding new user `postfix' (UID 102) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 107) ...
Done.
setting myhostname: localhost.localdomain
setting alias maps
setting alias database
changing /etc/mailname to localhost.localdomain
setting myorigin
setting destinations: localhost.localdomain, localhost.localhost.localdomain, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.
Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
newaliases: fatal: inet_addr_local[getifaddrs]: getifaddrs: Address family not supported by protocol
dpkg: error processing postfix (--configure):
subprocess installed post-installation script returned error exit status 75
Regards
Volker
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#759896; Package postfix.
(Tue, 08 Nov 2016 09:57:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Tzafrir Cohen <tzafrir@cohens.org.il>:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>.
(Tue, 08 Nov 2016 09:57:02 GMT) (full text, mbox, link).
Message #10 received at 759896@bugs.debian.org (full text, mbox, reply):
Hi,
I'm not sure if this is what the original report was about, but this is
a problem I have in Jessie, and seems to be resolved in Stretch.
I create an armhf chroot using qemu-debootstrap. Installing postfix in
it fails with the same error message.
There's an existing bug report in Ubuntu about it with more details:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1531299
It seems qemu fails to implement a certain kernel detail needed for
netlink. I didn't dig deep enough down there to see why it was needed
for newaliases.
Reproduced in Jessie's postfix (2.11.3-1). Not reproduced with the
version in Stretch (3.1.3-2). Both using the version of qemu in Stretch
(qemu-user-static 1:2.7+dfsg-3).
To reproduce:
0. Pre-requirements:
apt install qemu-user-static deboostrap
1. create a new chroot:
debootstrap --arch=armhf $DISTRO root-dir
2. install postfix in it:
# for those without systemd: configure schroot. Or maybe even a plain
# chroot would do:
systemd-nspawn -D root-dir -- apt install postfix
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
tzafrir@debian.org | | friend
Information forwarded
to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#759896; Package postfix.
(Fri, 11 Nov 2016 06:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Scott Kitterman <debian@kitterman.com>:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>.
(Fri, 11 Nov 2016 06:09:04 GMT) (full text, mbox, link).
Message #15 received at 759896@bugs.debian.org (full text, mbox, reply):
On Tue, 8 Nov 2016 10:53:48 +0100 Tzafrir Cohen <tzafrir@cohens.org.il> wrote:
...
> It seems qemu fails to implement a certain kernel detail needed for
> netlink. I didn't dig deep enough down there to see why it was needed
> for newaliases.
...
Then that's not a postfix bug.
Scott K
Added tag(s) wontfix.
Request was from Scott Kitterman <scott@kitterman.com>
to control@bugs.debian.org.
(Fri, 11 Nov 2016 06:09:07 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 22:26:56 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.