[hostnamed] Changing hostname doesn't update /etc/hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Debian) |
Fix Released
|
Unknown
|
|||
gnome-control-center (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
Xenial |
Triaged
|
Low
|
Unassigned | ||
unity-control-center (Ubuntu) |
Won't Fix
|
Low
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
GUI
---
1a. Run sudo gnome-control-
1b. Save the gnome-control-
2. Enter the Details panel
3. The "Device name" (hostname) text field should be editable; change the text to something else.
4. The hostname is updated instantly which can be verified by looking in /etc/hostname. However /etc/hosts/ is not updated.
Command line
------------
hostnamectl set-hostname
The hostnamed documentation at http://
"To properly handle name lookups with changing local hostnames without having to edit /etc/hosts for them we recommend using hostnamed in combination with nss-myhostname: http://
Without /etc/hosts being handled correctly, the hostnamed integration is only half-working.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gnome-control-
ProcVersionSign
Uname: Linux 3.8.0-15-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Sun Mar 31 08:52:57 2013
MarkForUpload: True
SourcePackage: gnome-control-
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_
activity-
deja-dup 26.0-0ubuntu1
gnome-
gnome-
indicator-datetime 12.10.3daily13.
Changed in gnome-control-center (Ubuntu): | |
status: | Fix Released → Triaged |
description: | updated |
description: | updated |
Changed in systemd (Debian): | |
status: | Unknown → New |
Changed in systemd (Ubuntu): | |
importance: | Undecided → Low |
assignee: | Ryan Lortie (desrt) → nobody |
Changed in systemd (Debian): | |
status: | New → Fix Released |
tags: | added: rls-w-incoming |
tags: |
added: rls-x-incoming removed: rls-w-incoming |
Changed in unity-control-center (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: zesty |
tags: |
added: rls-ee-incoming removed: rls-x-incoming |
Changed in systemd (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in unity-control-center (Ubuntu): | |
status: | Confirmed → Won't Fix |
Changed in gnome-control-center (Ubuntu): | |
status: | Triaged → Invalid |
Ah, nss-myhostname is already in Debian and Ubuntu. I filed bug 1162478 to get it in main.