** Changed in: gnome-control-center (Ubuntu Bionic)
Status: Fix Committed => In Progress
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1766575
Title:
Drop libnss-myhostname recommends
Status in gnome-control-center package in Ubuntu:
Fix Released
Status in gnome-control-center source package in Bionic:
In Progress
Bug description:
Impact
======
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 since we switched to systemd-resolved.
Test Case
=========
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 (let's say new-hostname)
Open a terminal and verify that the hostname has been changed.
Then run ping new-hostname and verify that that command works in the terminal.
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
====================
To quote from the manpage:
https://manpages.debian.org/unstable/nss-resolve
"Note that systemd-resolved will synthesize DNS resource records in a
few cases, for example for "localhost" and the current hostname, see
systemd-resolved(8) for the full list. This duplicates the
functionality of nss-myhostname(8), but it is still recommended (see
examples below) to keep nss-myhostname configured in
/etc/nsswitch.conf, to keep those names resolveable if systemd-
resolved is not running."
Ubuntu uses systemd-resolved by default and it's expected that users
who don't want to use that will need to configure some things
manually.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1766575/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp