[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686970: marked as done (Inconsistent ipv6 handling of localhost in netbase and netcfg)



Your message dated Mon, 24 Sep 2012 22:17:43 +0000
with message-id <E1TGGyF-0002CV-Cf@franck.debian.org>
and subject line Bug#686970: fixed in netcfg 1.93
has caused the Debian Bug report #686970,
regarding Inconsistent ipv6 handling of localhost in netbase and netcfg
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
686970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686970
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: netbase,netcfg
Severity: normal
Tags: d-i ipv6

In #685362, a user complains that PostgreSQL doesn't listen on ipv6
localhost, unless he has "::1 localhost" in his /etc/hosts. I can
confirm that adding this fixes the problem for postgresql-9.1. Looking
through my systems, I'm seeing different defaults for "localhost". All
systems have

127.0.0.1	localhost

but then some have

::1     localhost ip6-localhost ip6-loopback

while some only have

::1     ip6-localhost ip6-loopback

Digging a bit further, I found that the "ipv6 localhost" variant is
installed by netbase's postinst:

create_hosts_file() {
  if [ -e /etc/hosts ]; then return 0; fi

    cat > /etc/hosts <<-EOF
            127.0.0.1       localhost
            ::1             localhost ip6-localhost ip6-loopback
[...]

And the "ipv4 only" variant is installed by netcfg's udeb:

#define IPV6_HOSTS \
"# The following lines are desirable for IPv6 capable hosts\n" \
"::1     ip6-localhost ip6-loopback\n" \

netcfg was actually using the "ipv6 localhost" variant until that got
reverted in 1.57, closing #595107.


I'm filing the bug on both netbase and netcfg so the maintainers can
make the behavior the same one way or the other.

From my point of view, localhost should be handled like any other
multi-homed host, that is, it should have both addresses. It might
have been different in 2010, wenn netcfg 1.57 was uploaded, but
nowadays applications really need to cope with ipv6 being present.

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: netcfg
Source-Version: 1.93

We believe that the bug you reported is fixed in the latest version of
netcfg, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 686970@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philipp Kern <pkern@debian.org> (supplier of updated netcfg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 25 Sep 2012 00:12:50 +0200
Source: netcfg
Binary: netcfg netcfg-static
Architecture: source amd64
Version: 1.93
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philipp Kern <pkern@debian.org>
Description: 
 netcfg     - Configure the network (udeb)
 netcfg-static - Configure a static network (udeb)
Closes: 686970 688470
Changes: 
 netcfg (1.93) unstable; urgency=low
 .
   [ Philipp Kern ]
   * Check the return code of the waitpid calls found in various cleanup
     routines. (Closes: #688470)
   * Align netcfg's generation of /etc/hosts with netbase's postinst,
     i.e. add localhost mapping to ::1 as well as 127.0.0.1.
     (Closes: #686970)
 .
   [ Updated translations ]
   * Spanish (es.po) by Javier Fernández-Sanguino Peña
   * French (fr.po) by Christian Perrier
   * Indonesian (id.po) by Arief S Fitrianto
   * Korean (ko.po) by Changwoo Ryu
   * Macedonian (mk.po) by Arangel Angov
   * Malayalam (ml.po) by Anish A
   * Romanian (ro.po) by Andrei POPESCU
   * Vietnamese (vi.po) by Hai-Nam Nguyen
   * Simplified Chinese (zh_CN.po) by YunQiang Su
   * Traditional Chinese (zh_TW.po) by V字龍 | Vdragon
Checksums-Sha1: 
 ed95b3921381816cb7b03939aac64f07161f4ae2 1478 netcfg_1.93.dsc
 cff5381da93e093aa9c0b3296051446f8452da8d 740772 netcfg_1.93.tar.gz
 b64e30dd27d97d18639f4b41fa966f4b325f471b 397812 netcfg_1.93_amd64.udeb
 5f102aea4ef2e6b08c182c248629cda438fbd5ed 309370 netcfg-static_1.93_amd64.udeb
Checksums-Sha256: 
 28d241e91e1c325cf0961cc54e6c1d52892621dd901ee2e9b560fb3171ec40b9 1478 netcfg_1.93.dsc
 fbe00afbe86e1a73eb2bd721e0a63e659223dd16ba96aa6ffe4dcffa62704471 740772 netcfg_1.93.tar.gz
 da4a50b6500d14bcdbe2664d57e0a825443ea70f4a157164077ada5d0433f3ff 397812 netcfg_1.93_amd64.udeb
 f0bd48c063bf26cb05b2e969e359476b7ddaac45e50d39da886706d57b4195f5 309370 netcfg-static_1.93_amd64.udeb
Files: 
 6c25d430fc95841239ed78a6c5c882d9 1478 debian-installer optional netcfg_1.93.dsc
 e3dfd897de77c37b77077798ecc2e6fe 740772 debian-installer optional netcfg_1.93.tar.gz
 25e50f2a7ff1fe8e59c9982ec29d603e 397812 debian-installer optional netcfg_1.93_amd64.udeb
 b9790851019128ee3cc5f25720fe916e 309370 debian-installer optional netcfg-static_1.93_amd64.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJQYNr0AAoJEERuJUU10FbsMqAH/1v5Ptv17uTEZt3So/4mpu1P
pY5AwpQCvTmDg/V+Lni9CXf5ZWrNh5cy6Nj/osACSpQtwfTE5LAmnfy7ttCe59aP
UySTBtT5S4FdorDMWBF7p6KwO92rKsz4RsAk/TRcOwIxGXisHQkI9g+xeXTg8MI2
3GV0tUjTBqxXm28qrgZopwmwhLQN1bI+5BAXVsYZ42PkDBj8bDUG7NZpyN3E/z14
o/wL6sdK+N5FiYoDYaW3qs/zX3YsduMymqM3XWPf8qsGUxCe89EirtnrXn6zqya0
YaZ2oStkQ+3af3JA3At9U108PLq374XihEtFHp3xVALQcyBjzxOSupI/N5ShY9k=
=LOqE
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: