Bug#247734: /etc/hosts: Two lines with the same IP address?

2004-06-09 Thread Bernd Eckenfels
On Wed, Jun 09, 2004 at 01:03:53PM +0200, Thomas Hood wrote: 10.1.2.3pingo It is not enough to entr this to the hosts file, the ip should also be pingable, IMHO. Perhaps by adding an alias to lo. Greetings Bernd -- (OO) -- [EMAIL PROTECTED] -- ( .. ) [EMAIL

Bug#247734: /etc/hosts: Two lines with the same IP address?

2004-06-09 Thread Thomas Hood
On Wed, 2004-06-09 at 02:12, Bernd Eckenfels wrote: I think i can fix that in hostname, by looking at the first entry in the aliases which is not localhost and which has dots. and if there is none with dots then use the first which is not localhost, and only of none found, allow localhost to

Bug#247734: /etc/hosts: Two lines with the same IP address?

2004-06-09 Thread Adam D. Barratt
On Wed, 2004-06-09 at 18:05, Joshua Kwan wrote: On Wed, Jun 09, 2004 at 01:03:53PM +0200, Thomas Hood wrote: Marc Haber wrote: This is what somebody suggested on IRC. I have configured localhost to be 127.0.0.1, and hostname and fqdn to 127.0.1.1. Which hasn't shown any bad effects

Bug#247734: /etc/hosts: Two lines with the same IP address?

2004-06-09 Thread Joshua Kwan
On Wed, Jun 09, 2004 at 01:03:53PM +0200, Thomas Hood wrote: Marc Haber wrote: This is what somebody suggested on IRC. I have configured localhost to be 127.0.0.1, and hostname and fqdn to 127.0.1.1. Which hasn't shown any bad effects yet. This is the best idea so far, provided it works.

Bug#247734: /etc/hosts: Two lines with the same IP address?

2004-06-09 Thread Thomas Hood
On Wed, 2004-06-09 at 19:05, Joshua Kwan wrote: Where does 127.0.1.1 fit in to the whole hostname of system must resolve into a usable IP thing? I am not aware that the hostname of the system must resolve into something usable. I am only aware that sudo prints an error message (which may be

Bug#247734: /etc/hosts: Two lines with the same IP address?

2004-06-09 Thread Thomas Hood
On Wed, 2004-06-09 at 17:31, Bernd Eckenfels wrote: I was under the wrong impression that on kernels, I cant ping 127.0.1.1, but at least on 2.6 with no loopback route I am wrong, and it works fine. I think that has changed, but I am not sure if it is something to care about. I can ping

Bug#247734: /etc/hosts: Two lines with the same IP address?

2004-06-08 Thread Thomas Hood
On Tue, 2004-06-08 at 15:48, Andrew Suffield wrote: On Tue, Jun 08, 2004 at 02:40:55PM +0200, Thomas Hood wrote: 127.0.0.1 localhost 127.0.0.1 pingo The above two lines *must* be precisely equivalent to *one* of the following four lines: 127.0.0.1 localhost

Bug#247734: /etc/hosts: Two lines with the same IP address?

2004-06-08 Thread Bernd Eckenfels
On Tue, Jun 08, 2004 at 05:19:29PM +0200, Thomas Hood wrote: Second, one wants hostname --fqdn to yield the hostname, not localhost. I think i can fix that in hostname, by looking at the first entry in the aliases which is not localhost and which has dots. and if there is none with dots then use