Hi > I have set up a diskless client that works very nicely with the ltsp > initrd. The only problem is that > names are not being resolved correctly. I have the proper files set up: > /etc/hosts > /etc/hostname > /etc/resolv.conf > /etc/host.conf > I have used strace to see the files that are accessed and it does get a > little angry about the absence of libnsl. However, adding it to /lib > does not help matters. The host.conf file is never even opened. It > will open resolv.conf and nsswitch.conf but not host.conf. > I have also compiled my own version of busybox (staticly linked with > what I thought was a decent version of libc6) but that did not improve > matters. Why is the gethostbyname() process getting shortened here? > Anyone else having these troubles with ltsp_initrd_kit-3.0.5 ? > michael
Easy but messy. (I believe) that the nis stuff works to do this, but I do not do that. host.conf is not used any longer. I copied to the /opt/ltsp hierarchy the necessary libnss files and all works perfectly. 'necessary' depends on your resolver config. I set nsswitch.conf to use files and dns (not nis) and needed the /lib/libnss_dns-2.2.5.so /lib/libnss_files-2.2.5.so libraries, I run a cache named. I needed that for my network stuff and also needed libs to read /etc/services (but don't remember what they were). James ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net
