← Back to team overview

desktop-packages team mailing list archive

[Bug 1476381] Re: hostname is not set correctly by unity-control-center

 

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

that's bug #1162475

** This bug has been marked a duplicate of bug 1162475
   [hostnamed] Changing hostname doesn't update /etc/hosts

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1476381

Title:
  hostname is not set correctly by unity-control-center

Status in gnome-control-center package in Ubuntu:
  New
Status in unity-control-center package in Ubuntu:
  New

Bug description:
  Ubuntu 15.04, Linux 3.19.0-22-generic, Unity.

  I used System unity-control-center --> Details to change my computer's
  hostname. This resulted in a state where

  /etc/hostname

  was updated, but the relevant entry in /etc/hosts i.e.

  127.0.1.1       <old-hostname>

  was not.

  Restarting the machine does not update the line in /etc/hosts.

  I believe this is a bug, it cannot be the intended outcome of unity-
  control-center, because it results in a broken state where the
  computer's own hostname is not a know host for itself, in turn
  resulting in many issues with internet applications.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1476381/+subscriptions