[Bug 1934456] [NEW] The "hostnamectl" command does not modify the hosts file.

Cagdas Funda 1934456 at bugs.launchpad.net
Fri Jul 2 06:48:18 UTC 2021


Public bug reported:

When you want to change the name of the server with the "hostnamectl" command:
The /etc/hostname file is changing as it should.
However, the old name of the server remains in the /etc/hosts file.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: hostnamectl

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

Title:
  The "hostnamectl" command does not modify the hosts file.

Status in systemd package in Ubuntu:
  New

Bug description:
  When you want to change the name of the server with the "hostnamectl" command:
  The /etc/hostname file is changing as it should.
  However, the old name of the server remains in the /etc/hosts file.

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



More information about the foundations-bugs mailing list