Bug#583624: libnss-myhostname: maybe use 127.0.1.1 to be consistent with Debian's default /etc/hosts

2010-05-31 Thread Lennart Poettering
On Sat, 29.05.10 09:33, Joachim Breitner (nome...@debian.org) wrote:

 Dear Christoph, Dear Lennart,
 
 Am Samstag, den 29.05.2010, 00:45 +0200 schrieb Christoph Anton
 Mitterer:
  May I suggest to map to 127.0.1.1 for IPv4 instead of 127.0.0.2.
  
  This would be more consistent what Debian does per default in
  /etc/hosts.
  
  See also the Debian Reference Manual at:
  http://www.debian.org/doc/manuals/reference/ch05.en.html#_the_hostname_resolution
 
 thanks for the suggestion, Christoph. I’m replying to Lennart, the
 original author of nss-myhostname: Do you see and problem with making
 the default 127.0.1.1 on Debian? Do you mind if your software diverges
 in Debian somewhat?

Hmm, I see no reason why 127.0.0.2 should be a better choice than
127.0.1.1, or vice versa. Can you come up with a reason?

Given that one is as good as the other 127.0.0.2 looks a bit more
straighforward to me, and I think that generally docs should be fixed to
follow what the code does, not the other way round, so I'd probably vote
for changing your manual, and keep the code in place.  That said, I
think this is really a minor issue, and I think it wouldn't be really
that bad if debian would deviate here from the rest of the world. So go
ahead with 127.0.1.1 if you want to and really don't want to fix the
documentation instead. You have my blessing that that is OK.

On top of that, if you can make up a good reason I'd be willing to
change the upstream to 127.0.1.1, btw. So, convince me!

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/   GnuPG 0x1A015CC4



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#583624: libnss-myhostname: maybe use 127.0.1.1 to be consistent with Debian's default /etc/hosts

2010-05-31 Thread Christoph Anton Mitterer
On Mon, 2010-05-31 at 23:58 +0200, Lennart Poettering wrote:
 Hmm, I see no reason why 127.0.0.2 should be a better choice than
 127.0.1.1, or vice versa. Can you come up with a reason?
No special reason I guess,.. I wanted it just to be aligned with
Debian's standard.

 Given that one is as good as the other 127.0.0.2 looks a bit more
 straighforward to me, and I think that generally docs should be fixed to
 follow what the code does, not the other way round, so I'd probably vote
 for changing your manual, and keep the code in place.  That said, I
 think this is really a minor issue, and I think it wouldn't be really
 that bad if debian would deviate here from the rest of the world. So go
 ahead with 127.0.1.1 if you want to and really don't want to fix the
 documentation instead. You have my blessing that that is OK.
 
 On top of that, if you can make up a good reason I'd be willing to
 change the upstream to 127.0.1.1, btw. So, convince me!
I think the best would perhaps be to find out why Debian chose to use
127.0.1.1 and decide then


Cheers,
Chris


smime.p7s
Description: S/MIME cryptographic signature


Bug#583624: libnss-myhostname: maybe use 127.0.1.1 to be consistent with Debian's default /etc/hosts

2010-05-29 Thread Joachim Breitner
Dear Christoph, Dear Lennart,

Am Samstag, den 29.05.2010, 00:45 +0200 schrieb Christoph Anton
Mitterer:
 May I suggest to map to 127.0.1.1 for IPv4 instead of 127.0.0.2.
 
 This would be more consistent what Debian does per default in
 /etc/hosts.
 
 See also the Debian Reference Manual at:
 http://www.debian.org/doc/manuals/reference/ch05.en.html#_the_hostname_resolution

thanks for the suggestion, Christoph. I’m replying to Lennart, the
original author of nss-myhostname: Do you see and problem with making
the default 127.0.1.1 on Debian? Do you mind if your software diverges
in Debian somewhat?

Thanks,
Joachim

-- 
Joachim nomeata Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata


signature.asc
Description: This is a digitally signed message part


Bug#583624: libnss-myhostname: maybe use 127.0.1.1 to be consistent with Debian's default /etc/hosts

2010-05-28 Thread Christoph Anton Mitterer
Package: libnss-myhostname
Severity: wishlist

Hi.

May I suggest to map to 127.0.1.1 for IPv4 instead of 127.0.0.2.

This would be more consistent what Debian does per default in
/etc/hosts.

See also the Debian Reference Manual at:
http://www.debian.org/doc/manuals/reference/ch05.en.html#_the_hostname_resolution

Cheers,
Chris.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org