*** This bug is a duplicate of bug 32906 ***
    https://bugs.launchpad.net/bugs/32906

bluebox was the hostname when i installed feisty.
IWNETZ was the Workgroup when i used samba to connect with vmware.
System5 is the hostname now (/etc/hostname), but i don't remember when and how 
i changed it.
To reproduce it i startet gutsy and done this:

login
-----------------
  [EMAIL PROTECTED]:~$ cat /etc/hostname 
  SystemA
  [EMAIL PROTECTED]:~$ cat /etc/hosts
  127.0.0.1 localhost
  127.0.1.1 SystemA
  
  # The following lines are desirable for IPv6 capable hosts
  ::1 ip6-localhost ip6-loopback
  fe00::0 ip6-localnet
  ff00::0 ip6-mcastprefix
  ff02::1 ip6-allnodes
  ff02::2 ip6-allrouters
  ff02::3 ip6-allhosts
---------------------------
System->Administration->Network->General->Hostname: SystemA=>SystemB
---------------------------
logout/login
---------------------------
  [EMAIL PROTECTED]:~$ cat /etc/hostname 
  SystemB
  [EMAIL PROTECTED]:~$ cat /etc/hosts
  127.0.0.1 localhost
  127.0.1.1 SystemB
...
---------------------------------
I can't reproduce the change from SystemB to SystemB.IWNETZ, so edit the file 
/etc/hosts.
---------------------------------
  [EMAIL PROTECTED]:~$ cat /etc/hosts
  127.0.0.1 localhost
  127.0.1.1 SystemB.IWNETZ
...
---------------------------------
restart
----------------------
System->Administration->Network->General->Hostname: SystemB=>SystemC
-----------------------
log out/log in
-----------------------
  [EMAIL PROTECTED]:~$ cat /etc/hostname 
  SystemC
  [EMAIL PROTECTED]:~$ cat /etc/hosts
  127.0.0.1 localhost
  127.0.1.1 SystemB.IWNETZ
...
-----------------------

I don't know, whether it was a bug under gutsy (or feisty?) that added .IWNETZ 
to the line in /etc/hosts, but there may be some computers having such a 
(defective?) /etc/hosts and these computers may have a problem when upgrading 
to hardy.
The situation
  $ cat /etc/hostname 
  MyHostname
  $ cat /etc/hosts
  127.0.0.1 localhost
  127.0.1.1 MyHostname.MyWorkgroup
  ...
works under Gutsy, but not under Hardy.

-- 
dist-upgrade changes hostname in /etc/hosts breaking sudo
https://bugs.launchpad.net/bugs/178831
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to