Setting up a (Debian) Linux jail on FreeBSD

shkhln

Daemon

Reaction score: 573
Messages: 1,530

Doing this they translate system calls from one API/ABI to another and emulate the Linux system call table.
I hate to disappoint you, but that is how Linuxulator works in the first place.

If you need mostly to use Linux software that doesn't ported FreeBSD - easy way to use native Debian Linux without any software crooked nails, braces and the big time consumption.
That's just wrong.
 

Vadim_Mkk

Member

Reaction score: 6
Messages: 63

That's just wrong.
Why I need to jump with a tambourine and spend a lot of time on it is not clear and not predictable results if I can run needed me applications on another OS without those problems?
Time is the very expensive and non-renewable resource.
The hell with systemd , 20M lines code - but I have what I need. I work with laptop, no heavy loaded server. Something like this :)
 

Vadim_Mkk

Member

Reaction score: 6
Messages: 63

My target was to run Anaconda distribution on FreeBSD in the Jevuan jail. This attempts failed and this experiments over.
 

shkhln

Daemon

Reaction score: 573
Messages: 1,530

Looks this was copy-pasted from the (obsolete) Oracle documentation, otherwise the text would mention ability to run 64-bit Linux binaries, which I presume Illumos supports. In any case, this mostly describes container management and not emulation itself.
 

shkhln

Daemon

Reaction score: 573
Messages: 1,530

Why are we going through this exercise anyway? I'm just curious how many posts it would take you to admit that there exist only one (!) way of emulating the Linux kernel. That is, implementing it's public API, which means implementing Linux syscalls.
 

shkhln

Daemon

Reaction score: 573
Messages: 1,530

Nobody ever claimed FreeBSD jails have the same management capabilities, that's a straw man argument. The Linux emulation, however, is quite comparable. I wouldn't be surprised if Linuxulator runs circles around Illumos' implementation with regard to the completeness/compatibility.

But it clearly explains exactly what branded zones are, which is what you asked for.
I didn't.
 

Vadim_Mkk

Member

Reaction score: 6
Messages: 63

A little off topic for the respect community because I don't want make new thread..
How I understand hasn't insurance that Debian Jail will work correct with Linux application.
The little question - will work Nvida CUDA with the Linux applicatons in the current linuxator with driver's for FreeBSD version higher than 4XX,XX ?
Because in the description linux-nvidia-libs-440.31 I read one sententious here
This makes amd64 Linux OpenGL programs work on FreeBSD 12.0 and recent 11-STABLE. This does not enable CUDA.
For example can I start TensorFlow 2 on Linuxator? Or if I tried to setup TensorFlow 2 in Linuxator I spent for nothing my time?
P.S I want install Spyder in FreeBSD through default pip python3.7 - this operation finished a huge quantity of errors.
 

shkhln

Daemon

Reaction score: 573
Messages: 1,530

CUDA is still broken. Nobody is actively working on fixing it, so it will stay broken for the foreseeable future.
 

Vadim_Mkk

Member

Reaction score: 6
Messages: 63

Sorry, then I have to staying on the Debian...
Good luck everybody, I switch to reading mode..But I take with me the ZFS - I liked it very much.
Biggest RedHat, Oracle and other IT giants with bllianary R&D budgets (i begin suspect that they sawing money and simulation innovation) can't do it better that ZFS file systems over last 14 years. Although also ZFS isn't full ideal - but full ideal never reachable.Bye bye all..
 

Vadim_Mkk

Member

Reaction score: 6
Messages: 63

Why such this sounds? Let's get along Dostoevsky passions in this case?
Is task -is tools for its solution.
 

Aruns

New Member


Messages: 6

I closely followed all step to set up a Linux jail on FreeBSD 11.3. The final step results this,

root@freebsd-3M5C:/opt/jails/devuan # jail -c devuan
devuan: created
ELF binary type "0" not known.
ELF binary type "0" not known.
jail: devuan: exec /etc/init.d/rc: Exec format error
jail: devuan: /etc/init.d/rc 3: failed
devuan: removed

am looking for a fix.
 

mast07

New Member

Reaction score: 7
Messages: 19

A similar error was solved in this thread:

Perhaps it provides also some help here...
 

Lamia

Aspiring Daemon

Reaction score: 131
Messages: 576

You will easily install Devuan via vm-bhyve using the debian template.
 

Aruns

New Member


Messages: 6

A similar error was solved in this thread:

Perhaps it provides also some help here...
Thanks it's worked.
 

gh_origin

Active Member

Reaction score: 27
Messages: 134

Here is my fstab.antix, please note I mounted more file systems than you for my AntiX to work happily:

Code:
linprocfs       /antix/proc  linprocfs       rw,late 0 0
linsysfs        /antix/sys   linsysfs        rw,late 0 0
tmpfs           /antix/tmp   tmpfs   rw,late,mode=1777 0 0
tmpfs           /antix/run   tmpfs   rw,late,mode=1777 0 0
/home/username  /antix/home/username nullfs rw,late 0 0
Note: /antix is my AntiX jail's root. I created inside a jail a user with the same name, id and gid as a user I have on the host to use nullfs() to share the user's home dir.
 
Top