Changing the device name does not update /etc/hosts

Bug #922567 reported by Manuel de la Peña
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

If a user changes the device name from the gnome-control-center the /ect/hosts file will continue to use the old host name:

Steps to reproduce:

1. Launch gnome-control-center
2. Go to System Info
3. Change device name
4. Close control center
5. sudo cat /etc/hosts

Victor Vargas (kamus)
description: updated
Changed in gnome-control-center (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, how do you change the name? The field is not editable there. The code seems to rely on http://www.freedesktop.org/wiki/Software/systemd/hostnamed and /etc/machine-data which we don't have on Ubuntu (yet) it seems since we don't use systemd

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

unassiging the team from the desktop team, we are not working on it

Changed in gnome-control-center (Ubuntu):
assignee: Canonical Desktop Team (canonical-desktop-team) → nobody
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Allen (whosdaz) wrote :

Still active on Ubuntu Gnome 16.04 Daily Release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.