[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2012-06-19 Thread Thomas Hood
I just wrote: > Suppose the machine with name N is about to > connect to a LAN and get an IP address via DHCP. > /etc/hosts provides address 127.0.0.1 for the UNIX > hostname, N, without qualification. Sorry, I should have said "... provides address 127.0.1.1 for..." -- You received this bug no

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2012-06-19 Thread Thomas Hood
I have just filed bug #1015030 to suggest that nss-myhostname be used to supply the 127.0.1.1 mapping instead of a line in /etc/hosts. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/234543 Tit

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2012-06-19 Thread Thomas Hood
Those interested in this topic might want to read Debian bug report #267321 which documents the introduction of the "127.0.1.1 " line in /etc/hosts. "Typo" drew our attention in #14 to nss-myhostname. That reminded me of comment #96[0] in Debian bug report #267321 in which I said: > A better so

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2012-06-19 Thread Thomas Hood
** Changed in: netcfg (Ubuntu) Status: Invalid => Opinion ** Changed in: ubiquity (Ubuntu) Status: Invalid => Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/234543 Title: /etc/

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2012-06-18 Thread Thomas Hood
** Changed in: ubiquity (Ubuntu) Status: New => Invalid ** Changed in: netcfg (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/234543 Title: /etc/hosts: h

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2011-07-15 Thread Thomas Hood
#0. The original report seems to be that 127.0.1.1 HOSTNAME is not appropriate when the machine is on a local network. That is not true. It is correct to resolve the local machine's hostname to a loopback address. The reason for choosing 127.0.1.1 as that loopback address is that 127.0.0.1

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2011-07-06 Thread typo
You might also like to have a look at: http://0pointer.de/lennart/projects/nss-myhostname/ nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing host name resolution for the locally configured system hostname as returned by gethostnam

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2010-09-01 Thread typo
Your /etc/hosts should look like this: 192.168.178.33 ubuntu # Added by NetworkManager 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe0

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2010-09-01 Thread typo
This bug is fixed in maverick. NetworkManager 0.8.1 automatically sets the /etc/hosts file properly. $ cat /etc/hosts 192.168.178.33 ubuntu # Added by NetworkManager -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2009-03-25 Thread Alvin
I just ran into bug 86021 because of the 127.0.1.1 line. XDMCP doesn't like that line. Changing it to an IP address is an acceptable workaround, but it isn't very user-friendly to have this included in every manual about XDMCP (and maybe other services). -- /etc/hosts: hostname alias of loopback

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2009-03-22 Thread MarianoAbsatz
Just a question, I usually install and configure my public servers inside my firewall using plain dhcp. After I have them configured and self-firewalled, I move them to the public net and hand assign them an IP in /etc/network/interfaces. At this point, IIRC, I should edit /etc/hosts and replace

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2009-01-05 Thread Thomas Hood
This report can be closed. -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.co

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2009-01-05 Thread Thomas Hood
It is standard Debian and Ubuntu practice to add a line 127.0.1.1 foo to /etc/hosts, where foo is the content of /etc/hostname. This ensures that the system hostname is resolvable to an address for which it is the canonical hostname and an address, furthermore, where services on the local h

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-08-07 Thread Colin Watson
** Changed in: netcfg (Ubuntu) Sourcepackagename: debian-installer => netcfg ** Also affects: ubiquity (Ubuntu) Importance: Undecided Status: New -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you are a member

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-07-02 Thread Michael Vogt
Thanks for your bugreport. The release upgrader does nothing with /etc/hosts on the upgrade, this file is written by the installer. I reassign. ** Changed in: debian-installer (Ubuntu) Sourcepackagename: update-manager => debian-installer -- /etc/hosts: hostname alias of loopback https://bugs.l

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-06-26 Thread Daniel
** Description changed: There is a bug in /etc/hosts. Your hostname is NO alias of 127.0.0.1. Only "localhost" is an alias for the loopback. When an application want to know your ip adresss, it will get 127.0.0.1. But this is not your ip adress in your local network! This is not right

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-06-10 Thread Dereck Wonnacott
** Changed in: update-manager (Ubuntu) Sourcepackagename: None => update-manager -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing lis

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-06-06 Thread Ralph Janke
** Changed in: ubuntu Assignee: Ralph Janke (txwikinger) => (unassigned) -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list u

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-06-06 Thread Daniel
jim brown wrote on 2008-03-22: (bug #204824) >Looked in /etc/hosts and entry > >127.0.1.1 brownie.mshome <-- this was the entry generated by the upgrade -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you are a member of

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-05-27 Thread Ralph Janke
127.0.* addresses are reserved for loopbacks. The name for the loopback address is usually localhost and sometimes localdomain is also used with another loopback address. It is highly unusual to use the hostname for a loopback address. The issues with the xserver (and maybe also other applications

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-05-25 Thread Daniel
Is this a bad fix for bug 94048? Is there real no entry for 127.0.1.1 on your systems? -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs maili

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-05-25 Thread Daniel
This was the default configuration. I think I used Ubuntu 7.10 Gutsy Desktop CD for Installation and upgraded to 8.04 Hardy. -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you are a member of Ubuntu Bugs, which is subscr

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-05-24 Thread Ralph Janke
Thank for reporting this issue. None of my various ubuntu computers has the hostname assigned to the local address in this file. How did you install and/or configure your computer? Thanks ** Changed in: ubuntu Assignee: (unassigned) => Ralph Janke (txwikinger) Status: New => Incomple

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-05-24 Thread Daniel
** Description changed: There is a bug in /etc/hosts. Your hostname is NO alias of 127.0.0.1. Only "localhost" is an alias for the loopback. When an application want to know your ip adresss, it will get 127.0.0.1. But this is not your ip adress in your local network! This is not right

[Bug 234543] Re: /etc/hosts: hostname alias of loopback

2008-05-24 Thread Daniel
** Attachment added: "wine discussion" http://launchpadlibrarian.net/14683868/wine%20hosts -- /etc/hosts: hostname alias of loopback https://bugs.launchpad.net/bugs/234543 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bu