Public bug reported:

gnome-control-center added a Recommends: libnss-myhostname years ago so
that it was possible to easily change the hostname in the Details panel.
That dependency no longer appears to be needed.

Testing Done
============
In both Debian Testing and Ubuntu 18.04 (Debian doesn't use systemd-resolved so 
seemed useful to try there too).
sudo apt uninstall libnss-myhostname
Restart
Open the GNOME Settings app (gnome-control-center)
In the left sidebar, click Devices
Enter a different Device name in the block
Open a terminal and verify that the hostname has been changed.

Other Info
==========
There are concerns about having libnss-myhostname in the default install. See 
comment 5 at LP: #1741277.

See also LP: #1162475
Note that /etc/hosts isn't updated regardless of whether libnss-myhostname is 
installed (I guess my bug description there was wrong but there was some kind 
of bug there.)

Regression Potential
====================
I believe most distros do install libnss-myhostname as recommended by 
https://www.freedesktop.org/wiki/Software/systemd/hostnamed/ As long as things 
appear to work, maybe we can ignore that recommendation.

** Affects: gnome-control-center (Ubuntu)
     Importance: Low
         Status: New


** Tags: bionic

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

Title:
  Drop libnss-myhostname recommends

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to