[ntp:security] [Bug 2960] upgrade to 4.2.8p4 causes FAIL at name resolution; error: ntpd[9881]: giving up resolving host clock.isc.org: Servname not supported for ai_socktype (-8)

bugzilla-daemon at ntp.org bugzilla-daemon at ntp.org
Mon Feb 1 17:44:20 UTC 2016


http://bugs.ntp.org/show_bug.cgi?id=2960

--- Comment #19 from Reinhard Max <max at suse.com> 2016-02-01 17:44:20 UTC ---
Created attachment 1382
  --> http://bugs.ntp.org/attachment.cgi?id=1382
Initial patch to use __nss_disable_nscd

Here's my first attempt to get __nss_disable_nscd in.

After some quick smoke tests it appears to work, but still needs some polishing
in (at least) the following areas:

1. Proper addition of -ldl to configure/make/
2. Find the right place to call my_nss_warmup().
3. Only call my_nss_warmup() if chrooting is actually being requested.
4. Add some logging.

BTW, I went for dlopen() rather than adding a prototype for
__nss_disable_nscd() and calling it directly, because RPM by default actively
prevents the installation of packages which contain binaries that are linked to
private glibc symbols.

-- 
Configure bugmail: http://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the security mailing list