Bug#698092: exim4: Fails to send mails on hurd-i386 with ipv6 enabled
Samuel Thibault
sthibault at debian.org
Sun Jan 13 23:34:48 UTC 2013
Package: exim4
Version: 4.80-6
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd
Hello,
After enabling ipv6 on a hurd-i386 box, I couldn't send mails with exim4
any more:
LOG: PANIC DIE
Unable to get IP address for lo interface: 1073741846 Invalid argument
Digging a bit, it seems it would actually also happen on Linux if it
didn't have SIOCGIFCONF_GIVES_ADDR . It happens that GNU/Hurd's
SIOCGIFCONF does give the address, so the attached patch sets
SIOCGIFCONF_GIVES_ADDR on GNU/Hurd too, which fixes the issue.
Samuel
-- Package-specific info:
Exim version 4.80 #3 built 21-Nov-2012 18:49:50
Copyright (c) University of Cambridge, 1995 - 2012
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2012
Berkeley DB: Berkeley DB 5.1.29: (October 25, 2011)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='type.youpi.perso.aquilenet.fr;type.ipv6'
dc_local_interfaces='127.0.0.1'
dc_readhost='youpi.perso.aquilenet.fr'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='toccata.ens-lyon.org::587'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_localdelivery='true'
mailname:type.youpi.perso.aquilenet.fr
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.7.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages exim4 depends on:
ii cdebconf [debconf-2.0] 0.181
ii debconf [debconf-2.0] 1.5.49
ii exim4-base 4.80-6
ii exim4-daemon-light 4.80-6
exim4 recommends no packages.
exim4 suggests no packages.
-- debconf information excluded
--
Samuel
#ifndef I_WISH_WORLD_WERE_PERFECT
/* It is not :-( All the routers (except for Linux) return only
...
-+- linux/net/ipv4/ipip.c -+-
-------------- next part --------------
--- a/OS/os.h-GNU.orig 2013-01-14 00:00:59.000000000 +0100
+++ b/OS/os.h-GNU 2013-01-14 00:01:00.000000000 +0100
@@ -16,4 +16,6 @@
/* Hurd-specific bits below */
+#define SIOCGIFCONF_GIVES_ADDR
+
/* End */
More information about the Pkg-exim4-maintainers
mailing list