32-bit jail on 64-bit host

Peter Blok pblok at bsd4all.org
Thu Apr 22 11:13:40 UTC 2021


The goal is to use p5-DBD-Oracle which only works/compiles on i386 on a very light system not able to run bhyve.

I have tried with lib32 but it fails as well. I do not have a lot of time to debug this, so I was hoping I was able to make this work on an i386 jail.

I’ll change the jail.conf and manage it from the outside. Hopefully it works.





> On 22 Apr 2021, at 13:06, Eugene Grosbein <eugen at grosbein.net> wrote:
> 
> 22.04.2021 17:32, Daniel Dettlaff via freebsd-hackers wrote:
> 
>> If you need to run 32bit software with 64bit base system just try creating 64bit jail with lib32 subsystem present. Then 32bit software should be able to run properly in such jail, but you can't run 32bit jail on 64bit base as Eugene said.
> 
> Not exactly. It is definitely possible to run 32bit-only jail with 64 host (kernel)
> if one does not try use it as distinct machine with its own set of interfaces, routing tables etc.
> but with its own IP address(-es) assigned to one of host's interfaces (loopback or other)
> and assigned to the jail in question. A jail is a containter managed by its host,
> so use it appropriately, manage it at host, not inside a jail and you'll be OK.
> 
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list