I've also noticed that with hosts cache enabled that lookups for the same name seem to always be reported as missing; here's the output of subsequent "ping gasolinux" commands:
Wed 17 Dec 2014 11:42:02 AM BRST - 3627: handle_request: request received (Version = 2) from PID 3642 Wed 17 Dec 2014 11:42:02 AM BRST - 3627: GETFDHST Wed 17 Dec 2014 11:42:02 AM BRST - 3627: provide access to FD 9, for hosts Wed 17 Dec 2014 11:42:02 AM BRST - 3627: handle_request: request received (Version = 2) from PID 3642 Wed 17 Dec 2014 11:42:02 AM BRST - 3627: GETHOSTBYNAME (gasolinux) Wed 17 Dec 2014 11:42:02 AM BRST - 3627: Haven't found "gasolinux" in hosts cache! Wed 17 Dec 2014 11:42:02 AM BRST - 3627: handle_request: request received (Version = 2) from PID 3642 Wed 17 Dec 2014 11:42:02 AM BRST - 3627: GETHOSTBYADDR (192.168.99.14) Wed 17 Dec 2014 11:42:02 AM BRST - 3627: Haven't found "192.168.99.14" in hosts cache! Wed 17 Dec 2014 11:42:09 AM BRST - 3627: handle_request: request received (Version = 2) from PID 3643 Wed 17 Dec 2014 11:42:09 AM BRST - 3627: GETFDHST Wed 17 Dec 2014 11:42:09 AM BRST - 3627: provide access to FD 9, for hosts Wed 17 Dec 2014 11:42:09 AM BRST - 3627: handle_request: request received (Version = 2) from PID 3643 Wed 17 Dec 2014 11:42:09 AM BRST - 3627: GETHOSTBYNAME (gasolinux) Wed 17 Dec 2014 11:42:09 AM BRST - 3627: Haven't found "gasolinux" in hosts cache! Wed 17 Dec 2014 11:42:09 AM BRST - 3627: handle_request: request received (Version = 2) from PID 3643 Wed 17 Dec 2014 11:42:09 AM BRST - 3627: GETHOSTBYADDR (192.168.99.14) Wed 17 Dec 2014 11:42:09 AM BRST - 3627: Haven't found "192.168.99.14" in hosts cache! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1403516 Title: nscd crashes upon sudo when hosts caching is enabled (NIS, NFS) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1403516/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
