Bug reproduced. I made a quick fix.
copy/paste the snip below to "setup_chroot.patch" file and apply with "patch 
-p0 < setup_chroot.patch"

Tested on Ubuntu 10.04 LTS


<snip>
--- /usr/share/doc/scponly/setup_chroot/setup_chroot.sh 2010-08-20 
10:35:17.952660599 +0200
+++ setup_chroot.sh     2010-08-20 10:40:35.892684331 +0200
@@ -95,6 +95,11 @@
        LIB_LIST="$LIB_LIST /lib/libnss_compat*"
 fi

+/bin/ls /lib/libnss_files* > /dev/null 2>&1
+if [ $? -eq 0 ]; then
+       LIB_LIST="$LIB_LIST /lib/libnss_files*"
+fi
+
 # check that the configure options are correct for chrooted operation:

 if [ xscponlyc = x ] || [ ! -f ./config.h ]; then
</snip>

-- 
setup_chroot.sh does not copy file /lib/libnss_files.so.2
https://bugs.launchpad.net/bugs/620019
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to