Hello,
Nowadays, the exim4 package enables listening on ipv6 by default:
/etc/exim4/update-exim4.conf.conf:
dc_local_interfaces='127.0.0.1 ; ::1'
However, this fails when the kernel does not support ipv6 (or it was
disabled thanks to ipv6.disable=1 or disable_ipv6=1):
2011-01-24 00:54:28 IPv6 socket creation failed: No such file or
directory
and if I retry to start, as well as further retries:
2011-01-24 00:55:28 IPv6 socket creation failed: Address family not
supported by protocol
exim4 should probably not completely fail when such EAFNOSUPPORT error
is returned.
Samuel
-- Package-specific info:
Exim version 4.72 #1 built 29-Dec-2010 18:56:47
Copyright (c) University of Cambridge, 1995 - 2007
Berkeley DB: Berkeley DB 4.8.30: (April 9, 2010)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm 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
GnuTLS compile-time version: 2.8.6
GnuTLS runtime version: 2.8.6
Configuration file is /var/lib/exim4/config.autogenerated
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37 (SMP w/2 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.153 Debian Configuration Management Sy
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii exim4-base 4.72-3+b1 support files for all Exim MTA (v4
ii exim4-daemon-light 4.72-3+b1 lightweight Exim MTA (v4) daemon
exim4 recommends no packages.
exim4 suggests no packages.
-- debconf information excluded
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> Hello,
> Nowadays, the exim4 package enables listening on ipv6 by default:
> /etc/exim4/update-exim4.conf.conf:
> dc_local_interfaces='127.0.0.1 ; ::1'
> However, this fails when the kernel does not support ipv6 (or it was
> disabled thanks to ipv6.disable=1 or disable_ipv6=1):
> 2011-01-24 00:54:28 IPv6 socket creation failed: No such file or
> directory
> and if I retry to start, as well as further retries:
> 2011-01-24 00:55:28 IPv6 socket creation failed: Address family not
> supported by protocol
> exim4 should probably not completely fail when such EAFNOSUPPORT error
> is returned.
[...]
I tend to disagree. If I explicitely tell exim to do the impossible,
failing safely instead of hiding the error by starting anyway is not
the worst choice.
cu andreas
Ok, then Debian shouldn't ask exim to do the impossible by including ::1
in the list of listening addresses.
Samuel