[Bug 246570] Re: installer seems to incorrectly set FQDN

Thomas Hood 246570 at bugs.launchpad.net
Tue Jun 19 12:41:53 UTC 2012


The installer now writes /etc/hosts

    127.0.0.1 localhost
    127.0.1.1 <UNIX hostname>

and /etc/hostname

    <UNIX hostname>

which is correct.

** Changed in: netcfg (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/246570

Title:
  installer seems to incorrectly set FQDN

Status in “netcfg” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: debian-installer

  We recently installed Hardy server on a machine here.

  Afterward, the hosts file read as follows:

    gavinmc at craic:~$ cat /etc/hosts
    127.0.0.1       localhost craic
    127.0.0.1       craic
    172.16.0.5      craic.staff.gcd.ie craic

  which apparently meant that the FQDN was set to craic instead of
  craic.staff.gcd.ie.

    gavinmc at craic:~$ hostname -f
    craic

  We updated the hosts file, removing the hostname (craic) from the
  127.0.0.1 entry.

    gavinmc at craic:~$ cat /etc/hosts
    127.0.0.1       localhost
    172.16.0.5      craic.staff.gcd.ie 
    gavinmc at craic:~$ hostname -f
    craic.staff.gcd.ie

  It doesn't seem to be a big deal (though we initially thought it was),
  but it doesn't seem right either.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/246570/+subscriptions




More information about the foundations-bugs mailing list