NIS hostname resolution not always working properly

I have noticed two subtle host name resolution problems using NIS (version 2) in Suse 11.1. The following is not an issue through Suse 11.0. Normal host name resolution through NIS using ping, telnet, etc. works as expected.

Problem 1:

  1. /etc/nsswitch.conf includes line:
    hosts: nis files dns
  2. localhost is resolvable through NIS to 127.0.0.1
  3. On login, KDE plasma crashes with SIGSEGV
  4. changing nsswitch.conf to include:
    hosts: files nis dns
    fixes the problem, as localhost is now resolved through /etc/hosts.

Problem 2:

  1. CUPS_SERVER environment variable set to print_server
  2. print_server resolvable through NIS or DNS
  3. nsswitch.conf includes:
    hosts: files nis dns
  4. lpstat -a (or any printer related program that runs such) causes a memory fault, somewhere in libc.so.6
  5. changing nsswitch to
    hosts: files dns nis
    fixes the problem. lpstat now works as expected when print server is resolved through DNS.

I suspect these two problems are related. Can anyone offer some insight as to what is the root cause of these issues?