run_woof using systemd-nspawn instead of chroot

Building a Puppy Linux OS

Moderator: Forum moderators

Post Reply
Chrysolite Azalea
Posts: 30
Joined: Sat Oct 23, 2021 6:17 pm
Been thanked: 5 times

run_woof using systemd-nspawn instead of chroot

Post by Chrysolite Azalea »

Hello everyone! I've forked the run_woof project and replaced chroot with systemd-nspawn. The advantages of it:

  • Various virtual filesystems are now handled by systemd-nspawn and don't have to be handled by run_woof
  • systemd-nspawn containers can be managed by machinectl utility
  • PID namespace isolation (system processes are not seen from the Puppy Linux container)

The main disadvantage is that it cannot be used on systems that lack systemd-nspawn, that includes a lot of Puppy Linux systems. This is why I decided not to make a pull request -- because chroot is more universal. However, it can be used to run woof-CE on mainstream distributions.

Post Reply

Return to “woof-CE”