** Also affects: gnome-control-center (Ubuntu) Importance: Undecided Status: New
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1664438 Title: updating device name in system settings doesn't update /etc/hosts Status in gnome-control-center package in Ubuntu: Confirmed Status in unity-control-center package in Ubuntu: Confirmed Bug description: probably a "paper cut" issue here. Issue exist on latest Ubuntu 19.10 and older releases, like 18.04 and 16.04. Changed the hostname of a system recently by opening the system settings tool, into details, and typing a new device name. Noticed afterwards that running sudo commands in the terminal resulted in an 'unable to resolve hostname' message, although the commands ran successfully. Checked and it looked like changing the name updates /etc/hostname as expected, but it didn't update /etc/hosts for me - it still had: 127.0.0.1 localhost 127.0.1.1 (old hostname) Replacing the old hostname with the new one removed the message from the terminal when running sudo commands. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1664438/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp