[Bug 1277608] [NEW] hostnamed should not print warning about nss-myhostname

Marc Deslauriers marc.deslauriers at canonical.com
Fri Feb 7 17:16:04 UTC 2014


Public bug reported:

Currently hostnamed prints the following error in syslog:

systemd-hostnamed[24508]: Warning: nss-myhostname is not installed.
Changing the local hostname might make it unresolveable. Please install
nss-myhostname!

Since nss-myhostname was rejected as being the right approach in
https://bugs.launchpad.net/ubuntu/+source/libnss-
myhostname/+bug/1162478/comments/6 , we should not print the warning
message in the LTS release, even if hostnamed doesn't currently modify
/etc/hosts (LP: #1162475).

Can we please patch this warning out to prevent users from thinking
something is wrong on their system and leading them to install libnss-
myhostname?

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: systemd-services 204-5ubuntu10
ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
Uname: Linux 3.13.0-5-generic x86_64
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb  7 12:12:20 2014
InstallationDate: Installed on 2013-11-26 (72 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: systemd
UpgradeStatus: Upgraded to trusty on 2014-01-17 (20 days ago)

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


** Tags: amd64 apport-bug trusty

-- 
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/1277608

Title:
  hostnamed should not print warning about nss-myhostname

Status in “systemd” package in Ubuntu:
  Confirmed

Bug description:
  Currently hostnamed prints the following error in syslog:

  systemd-hostnamed[24508]: Warning: nss-myhostname is not installed.
  Changing the local hostname might make it unresolveable. Please
  install nss-myhostname!

  Since nss-myhostname was rejected as being the right approach in
  https://bugs.launchpad.net/ubuntu/+source/libnss-
  myhostname/+bug/1162478/comments/6 , we should not print the warning
  message in the LTS release, even if hostnamed doesn't currently modify
  /etc/hosts (LP: #1162475).

  Can we please patch this warning out to prevent users from thinking
  something is wrong on their system and leading them to install libnss-
  myhostname?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: systemd-services 204-5ubuntu10
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Feb  7 12:12:20 2014
  InstallationDate: Installed on 2013-11-26 (72 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  SourcePackage: systemd
  UpgradeStatus: Upgraded to trusty on 2014-01-17 (20 days ago)

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



More information about the foundations-bugs mailing list