Public bug reported: Hi!
I discovered some bugs in the script setup_chroot.sh, at least on my i686 system. ****** ** 1 ** ****** On my system the libnss_compat libs are on lib/i386-linux-gnu/ instead of directly on /lib I added a second zone for adding libs 97a98,103 > # Fix for Debian i386 - NetVicious > /bin/ls /lib/i386-linux-gnu/libnss_compat* > /dev/null 2>&1 > if [ $? -eq 0 ]; then > LIB_LIST="$LIB_LIST /lib/i386-linux-gnu/libnss_compat*" > fi > ****** ** 2 ** ****** The creation of the special file null it's wrong. The major and minor numbers are swaped. 271c278 < mknod $targetdir/dev/null c 3 1 --- > mknod $targetdir/dev/null c 1 3 After these changes seems to work correctly. Regards, ----------- $ lsb_release -rd Description: Ubuntu 12.04.2 LTS Release: 12.04 $ apt-cache policy scponly scponly: Instalados: 4.8-4 Candidato: 4.8-4 Tabla de versiĆ³n: *** 4.8-4 0 100 /var/lib/dpkg/status ** Affects: scponly (Ubuntu) Importance: Undecided Status: New ** Tags: scponly setup-chroot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1198145 Title: setup_chroot.sh bugs (mknod and nss libs) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/scponly/+bug/1198145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs