The officially official Devuan Forum!

You are not logged in.

#1 2023-02-27 06:30:20

Danielsan
Member
Registered: 2020-07-14
Posts: 178  

Chroot/Jails alternative available for Devuan

Hi there,

I am wondering if there are available for Devuan, besides CHROOT, other technologies closer to the BSD JAILS or NSPAWN provided by Systemd, thanks! 🙏

Last edited by Danielsan (2023-02-27 06:31:31)

Offline

#2 2023-02-27 13:45:59

boughtonp
Member
From: UK
Registered: 2023-01-19
Posts: 212  
Website

Re: Chroot/Jails alternative available for Devuan

Looks like systemd-nspawn is a wrapper around the kernel namespaces feature.

Linux namespaces do NOT require systemd to use.


3.1415P265E589T932E846R64338

Offline

#3 2023-02-27 16:10:15

Danielsan
Member
Registered: 2020-07-14
Posts: 178  

Re: Chroot/Jails alternative available for Devuan

boughtonp wrote:

Looks like systemd-nspawn is a wrapper around the kernel namespaces feature.

Linux namespaces do NOT require systemd to use.

Thank you for the head-up, your suggestion landed me on this old article:

https://lwn.net/Articles/531114/

I think they had better to rename the project from SYSTEMD to SYSTEMNIH...

😂

Last edited by Danielsan (2023-02-27 16:11:03)

Offline

#4 2023-02-27 21:35:32

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,254  

Re: Chroot/Jails alternative available for Devuan

You might want to look at overlay-boot from devuan/experimental for light-weight container-like hosts using linux namespaces. I.e. sharing the kernel by virtual hosts. (Source at https://git.devuan.org/devuan/overlay-boot)

I'm also exploring user-mode-linux for non-root pseudo-virtualization; separate kernels on the host's hardware (not virtualized). This includes the variant where the VM file system is a host directory. (see https://git.devuan.org/rrq/umlvm)

Offline

#5 2023-02-27 23:46:14

Danielsan
Member
Registered: 2020-07-14
Posts: 178  

Re: Chroot/Jails alternative available for Devuan

ralph.ronnquist wrote:

You might want to look at overlay-boot from devuan/experimental for light-weight container-like hosts using linux namespaces. I.e. sharing the kernel by virtual hosts. (Source at https://git.devuan.org/devuan/overlay-boot)

I'm also exploring user-mode-linux for non-root pseudo-virtualization; separate kernels on the host's hardware (not virtualized). This includes the variant where the VM file system is a host directory. (see https://git.devuan.org/rrq/umlvm)

Thank you because, I read several article about the topics and namespaces aren't meant to persistent, also are pretty trickery and require knowledge that I miss completely.

Last edited by Danielsan (2023-02-28 03:44:07)

Offline

#6 2023-02-28 04:04:35

Danielsan
Member
Registered: 2020-07-14
Posts: 178  

Re: Chroot/Jails alternative available for Devuan

Too complicated this as well, didn't understand anything… 😵💫

Offline

#7 2023-02-28 05:07:54

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,254  

Re: Chroot/Jails alternative available for Devuan

Yes, everything is complicated in its particulars. That's why it's fun to learn stuff.

Offline

#8 2023-03-02 04:08:31

User479
Member
From: Central USA
Registered: 2021-11-07
Posts: 25  

Re: Chroot/Jails alternative available for Devuan

Firejail?

Offline

Board footer