Compiling linux_base in jail fails

Jason Henson jason at
Sat Feb 26 06:06:06 GMT 2005

On 02/25/05 10:53:03, Viren Patel wrote:

> ===>   linux_base-rh-7.3 depends on executable: rpm - found
> LC_ALL=C 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
> Stop in /usr/ports/emulators/linux_base.
> 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  
is being changed, but you can't do that in a jail.  Just do it as root.   
Then it would be avaliable to all programs, even those you might be  
running in a jail.

More information about the freebsd-questions mailing list