Page 1 of 1

VirtualBox Freeze: nsswitch to blame?

Posted: 18. Aug 2010, 00:27
by Jahava
Hey!

I am working on a VM running a Debian Lenny guest on a Debian Lenny host. I am using the latest version of VirtualBox, 3.2.8.

While the installation occurs without a hitch, I am encountering a rather odd freezing problem related to my usage of LDAP as an authentication system. Specifically, with the "libnss-ldap" Debian package, the system uses LDAP to authenticate users and groups. This is done by editing the /etc/nsswitch.conf file like so:

Code: Select all

passwd: files ldap
group: files ldap
shadow: files ldap
Now, when I reboot the system with this valid configuration, the system boots into X Windows and freezes. Completely hangs ... networking stops, VirtualBox stops responding to keyboard commands, can't switch to a virtual terminal, nada. If, however, I remove the "ldap" option from "group" in /etc/nsswitch.conf, everything boots perfectly (with, of course, the exception that groups aren't pulled from LDAP):

Code: Select all

passwd: files ldap
group: files
shadow: files ldap
I have done a fair bit of searching for a solution to this, but I have not successfully encountered a solution. I have even tried recreating the problem on Ubuntu 10.04, but it seems to boot just fine. If anyone could provide any insight as to why this is happening and, ideally, what I can do to fix it, please let me know. Thanks!