From owner-freebsd-questions@FreeBSD.ORG Sat Feb 26 06:06:06 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0039C16A4CE for ; Sat, 26 Feb 2005 06:06:05 +0000 (GMT) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C6043D3F for ; Sat, 26 Feb 2005 06:06:05 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from BARTON (cpe-065-184-201-054.ec.rr.com [65.184.201.54]) j1Q661ed029812; Sat, 26 Feb 2005 01:06:01 -0500 (EST) Date: Sat, 26 Feb 2005 06:14:39 +0000 From: Jason Henson To: virenp@cm.utexas.edu References: <32934.146.6.178.5.1109346783.squirrel@mail.cm.utexas.edu> In-Reply-To: <32934.146.6.178.5.1109346783.squirrel@mail.cm.utexas.edu> (from virenp@cm.utexas.edu on Fri Feb 25 10:53:03 2005) X-Mailer: Balsa 2.2.6 Message-Id: <1109398479l.42320l.0l@BARTON> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: Compiling linux_base in jail fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 06:06:06 -0000 On 02/25/05 10:53:03, Viren Patel wrote: > =3D=3D=3D> linux_base-rh-7.3 depends on executable: rpm - found > LC_ALL=3DC rpm --initdb --root > /usr/ports/emulators/linux_base/work/linux_base-rh-7.3 > --dbpath /var/lib/rpm > kern.fallback_elf_brand: -1 > sysctl: kern.fallback_elf_brand: Operation not permitted > ELF binary type "0" not known. > execution of glibc-2.2.5-44.legacy.3 script failed, exit > status 255 > *** Error code 1 >=20 > Stop in /usr/ports/emulators/linux_base. >=20 > Any ideas on how to get linux emulator running inside a > jail? Thanks. > Use base-8, 7 is old and has security issues I hear. Check /usr/ports/UPDATING. It seems to me the sysctl kern.fallback_elf_brand =20 is being changed, but you can't do that in a jail. Just do it as root. =20 Then it would be avaliable to all programs, even those you might be =20 running in a jail.