[scponly] setup_chroot.sh and Ubuntu 8.04

Per Wiklander lists at wiklander.biz
Mon Jan 19 14:54:21 EST 2009


Hi,

I'm sorry if this is old news, but I tried to get scponly (4.6) with  
chroot working today in Ubuntu 8.04 64bit. I think this would be good  
to have in the wiki.
This is what I had to change in setup_chroot.sh to get it to work:

diff setup_chroot.sh_old setup_chroot.sh

82c82,83
< LDSO_LIST="/lib/ld.so /libexec/ld-elf.so /libexec/ld-elf.so.1 /usr/ 
libexec/ld.so /lib/ld-linux.so.2 /usr/libexec/ld-elf.so.1"
---
 > LDSO_LIST="/lib/ld-2.7.so /lib/ld.so /libexec/ld-elf.so /libexec/ld- 
elf.so.1 /usr/libexec/ld.so /lib/ld-linux.so.2 /usr/libexec/ld-elf.so.1"
 >
199a201,207
 >
 >       olddir=`pwd`
 >       cd $targetdir
 >       ln -s lib lib64
 >       cd lib
 >       ln -s ld-2.7.so ld-linux-x86-64.so.2
 >       cd $pwd
204c212
< mknod -m 666 $targetdir/dev/null c 1 3
---
 > cp -a /dev/null $targetdir/dev/


/Per Wiklander



More information about the scponly mailing list