Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 2009 14:50:02 GMT
From:      Boris Samorodov <bsam@ipt.ru>
To:        freebsd-emulation@FreeBSD.org
Subject:   Re: ports/135337: [PATCH] emulators/linux_base-f10: incorrect bash usage
Message-ID:  <200908081450.n78Eo2ZP060610@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/135337; it has been noted by GNATS.

From: Boris Samorodov <bsam@ipt.ru>
To: bug-followup@FreeBSD.org,amdmi3@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908081450.n78Eo2ZP060610>