ports/135337: [PATCH] emulators/linux_base-f10: incorrect bash usage

Boris Samorodov bsam at ipt.ru
Sat Aug 8 14:50:02 UTC 2009


The following reply was made to PR ports/135337; it has been noted by GNATS.

From: Boris Samorodov <bsam at ipt.ru>
To: bug-followup at FreeBSD.org,amdmi3 at amdmi3.ru
Cc:  
Subject: Re: ports/135337: [PATCH] emulators/linux_base-f10: incorrect bash usage
Date: Sat, 08 Aug 2009 18:48:29 +0400

 Yep, the first suggestion won't work at chroot.
 Your second workaround should be added with "... and create a link
 /usr/local/bin/bash -> /bin/bash". Not good either.
 The third one does not work. :-(
 
 The best I can advice here is to use linux interpreter at command
 line (so it won't be evaluated while running the script):
 -----
 % /compat/linux/bin/sh /compat/linux/usr/bin/ldd /compat/linux/lib/libz.so.1
         libc.so.6 => /lib/libc.so.6 (0x2bc39000)
         /lib/ld-linux.so.2 (0x00000000)
 -----
 
 If anyone knows/suggests a better solution/patches -- I'm all ears.
 
 Thanks!
 
 -- 
 WBR, bsam


More information about the freebsd-emulation mailing list