[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
Since this missed Ubuntu 18.04.1, I think we're going to just leave things as they are for 18.04. ** Changed in: gnome-control-center (Ubuntu Bionic) Status: Triaged => Won't Fix -- 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: Won't Fix 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
** Changed in: gnome-control-center (Ubuntu Bionic) Assignee: (unassigned) => Jeremy Bicha (jbicha) -- 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: Triaged 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
** Changed in: gnome-control-center (Ubuntu Bionic) Status: In Progress => Triaged -- 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: Triaged 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
** 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
This bug was fixed in the package gnome-control-center - 1:3.28.1-0ubuntu2 --- gnome-control-center (1:3.28.1-0ubuntu2) cosmic; urgency=medium * Rename ubuntu-gnome-version.patch to distro-logo.patch for proposed upstreaming to Debian. Drop the hardcoded use of the Ubuntu font. (LP: #1770473) * debian/control.in: - Drop now unnecessary fonts-ubuntu dependency - Don't recommend libnss-myhostname since systemd-resolved handles this functionality (LP: #1766575) - Demote network-manager-gnome dependency back to recommends (LP: #1770673) - Depend on system-config-printer instead of system-config-printer-common for the Additional Printer Settings button (LP: #1770695) * Add 0007-fix-open-last-page.patch: - Proposed patch fixes the "open last opened page" feature for Devices and Details pages (LP: #1770699) -- Jeremy BichaFri, 11 May 2018 12:59:17 -0400 ** Changed in: gnome-control-center (Ubuntu) Status: Fix Committed => Fix Released -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
** Description changed: - 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. + 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. - Testing Done - - In both Debian Testing and Ubuntu 18.04 (Debian doesn't use systemd-resolved so seemed useful to try there too). + 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 + Enter a different Device name in the block (let's say new-hostname) Open a terminal and verify that the hostname has been changed. - - In Debian, running `ping new-hostname` fails, but it works fine in - Ubuntu. + 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. -- 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 Committed Status in gnome-control-center source package in Bionic: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
gnome-control-center uses hostnamed via D-Bus to change the hostname. The documentation says to use libnss-myhostname. Good luck convincing the systemd maintainers to change their mind on this issue. https://www.freedesktop.org/wiki/Software/systemd/hostnamed/ -- 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 Committed Status in gnome-control-center source package in Bionic: Fix Committed Bug description: 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. 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. In Debian, running `ping new-hostname` fails, but it works fine in Ubuntu. 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
Yes, I understand the reason for the Recommends. By "integrating with this", I meant that gnome-control-center's backend (which I believe is hostnamectl) should be updating /etc/hosts in addition to /etc/hostname. -- 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 Committed Status in gnome-control-center source package in Bionic: Fix Committed Bug description: 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. 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. In Debian, running `ping new-hostname` fails, but it works fine in Ubuntu. 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
The dependency wasn't added so that gnome-control-center could resolve the hostname but so that everything else could resolve the hostname when gnome-control-center is used to change the hostname. Anyway, the dependency is already dropped in our bzr branch. This issue just didn't seem critical enough to try to get through Final Freeze since it was only identified today. -- 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 Committed Status in gnome-control-center source package in Bionic: Fix Committed Bug description: 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. 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. In Debian, running `ping new-hostname` fails, but it works fine in Ubuntu. 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
Every Ubuntu system is installed with an entry in /etc/hosts pointing to 127.0.1.1 for the hostname. gnome-control-center should be integrating with this, and not just relying on either libnss-myhostname or systemd- resolved to resolve the hostname. The local hostname should be resolvable without further moving parts at runtime - the software which manages the hostname should take care of updating the one additional config file. -- 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 Committed Status in gnome-control-center source package in Bionic: Fix Committed Bug description: 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. 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. In Debian, running `ping new-hostname` fails, but it works fine in Ubuntu. 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
** Also affects: gnome-control-center (Ubuntu Bionic) Importance: Low Status: New ** Changed in: gnome-control-center (Ubuntu Bionic) Status: New => Fix Committed -- 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 Committed Status in gnome-control-center source package in Bionic: Fix Committed Bug description: 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. 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. In Debian, running `ping new-hostname` fails, but it works fine in Ubuntu. 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
** Description changed: 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. + 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. ** Description changed: 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. + That dependency no longer appears to be needed since we switched to + systemd-resolved. 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. + + In Debian, running `ping new-hostname` fails, but it works fine in + UBuntu. 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. ** Description changed: 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. 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. In Debian, running `ping new-hostname` fails, but it works fine in - UBuntu. + Ubuntu. 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
[Desktop-packages] [Bug 1766575] Re: Drop libnss-myhostname recommends
** Branch linked: lp:~ubuntu-desktop/gnome-control-center/ubuntu -- 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 Committed Status in gnome-control-center source package in Bionic: Fix Committed Bug description: 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. 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. In Debian, running `ping new-hostname` fails, but it works fine in Ubuntu. 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp