Comment 4 for bug 668366

Revision history for this message
Indie (alanlitster) wrote :

This bug still exists under Natty and now the files are in a different location. I found that I had to run the following command after setup_chroot.sh to correctly setup the chroot environment.

$ sudo cp -av /lib/i386-linux-gnu/libnss_files* /home/scponly/lib/i386-linux-gnu/

The supplied script tries to copy libnss_compat* from /lib which doesn't exist under Natty.

/bin/ls /lib/libnss_compat* > /dev/null 2>&1
if [ $? -eq 0 ]; then
        LIB_LIST="$LIB_LIST /lib/libnss_compat*"
fi