[scponly] scponly 3.9 this week

Hideyuki KURASHINA rushani at bl.mmtr.or.jp
Thu Nov 20 08:47:52 EST 2003


Hi,

# Re-send to list, because server responsed ``timeout exceeded''...

>>> On Wed, 19 Nov 2003 13:12:37 -0800, wby oblyr <joe at sublimation.org> said:

> there are, however, many other changes to the main setup_chroot.sh that
> have been included for release in 3.9

The patch I sent recently in my mail [*] works enough and is necessary
for FreeBSD -CURRENT (I confirmed today's fresh -CURRENT).  Comming
FreeBSD 5.2R will most likely have dynamic root by default.

Could you please also include this? (/libexec directory is also for
NetBSD, which is dynamic root'ed in -CURRENT as well.)

[*] Message-Id: <20031115.033404.102555465.rushani at bl.mmtr.or.jp>

-- rushani
-------------- next part --------------
--- setup_chroot.sh.in.orig	Thu Nov 20 08:18:16 2003
+++ setup_chroot.sh.in	Thu Nov 20 08:18:53 2003
@@ -106,6 +106,7 @@
 @INSTALL@ -d $targetdir/usr/local/lib
 @INSTALL@ -d $targetdir/usr/local/bin
 @INSTALL@ -d $targetdir/lib
+ at INSTALL@ -d $targetdir/libexec
 @INSTALL@ -d $targetdir/usr/lib
 @INSTALL@ -d $targetdir/usr/libexec
 @INSTALL@ -d $targetdir/usr/libexec/openssh
@@ -130,6 +131,10 @@
 LDSOFOUND=0
 if [ -f /lib/ld.so ]; then
 	LIB_LIST="$LIB_LIST /lib/ld.so"
+	LDSOFOUND=1
+fi
+if [ -f /libexec/ld-elf.so.1 ]; then
+	LIB_LIST="$LIB_LIST /libexec/ld-elf.so.1"
 	LDSOFOUND=1
 fi
 if [ -f /usr/libexec/ld.so ]; then


More information about the scponly mailing list