[Bug 1600000] Re: libnss-resolve treats two trailing dots on a domain name incorrectly

Martin Pitt martin.pitt at ubuntu.com
Thu Sep 8 13:58:27 UTC 2016


Adam asked to fix that in Xenial too; we don't enable resolved there by
default, but folks can manually enable it. It's not a bug that
realistically breaks stuff in practice, but it's simple to fix.

** Changed in: systemd (Ubuntu Xenial)
   Importance: Undecided => Low

** Changed in: systemd (Ubuntu Xenial)
       Status: New => Triaged

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

Title:
  libnss-resolve treats two trailing dots on a domain name incorrectly

Status in systemd:
  New
Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Xenial:
  Triaged

Bug description:
  (base)adconrad at nosferatu:~$ getent ahostsv4 www.gnu.org..
  208.118.235.148 STREAM wildebeest.gnu.org
  208.118.235.148 DGRAM  
  208.118.235.148 RAW    
  (base)adconrad at nosferatu:~$ sudo sed -i -e 's/ resolve dns/ dns/' /etc/nsswitch.conf 
  (base)adconrad at nosferatu:~$ getent ahostsv4 www.gnu.org..
  (base)adconrad at nosferatu:~$ sudo sed -i -e 's/ dns/ resolve dns/' /etc/nsswitch.conf 
  (base)adconrad at nosferatu:~$ getent ahostsv4 www.gnu.org..
  208.118.235.148 STREAM wildebeest.gnu.org
  208.118.235.148 DGRAM  
  208.118.235.148 RAW    
  (base)adconrad at nosferatu:~$ 

  This is responsible for the new regression in glibc:

  ----------
  FAIL: posix/tst-getaddrinfo5
  original exit status 1
  resolving "localhost." worked, proceeding to test
  resolving "localhost.." failed, test passed
  resolving "www.gnu.org." worked, proceeding to test
  resolving "www.gnu.org.." worked, test failed
  ----------

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



More information about the foundations-bugs mailing list