Re: [RFC PATCH v7 00/26] userland: Userland containers
From: Jarkko Sakkinen
Date: Sat Nov 28 2026 - 12:55:22 EST
On Wed, Nov 25, 2026 at 12:03:08AM +0200, Jarkko Sakkinen wrote:
> 1. Rebased RFC v7 patches with refined LSM support and fixes to the
> known issues as of today:
> https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/log/?h=userland
> 2. SystemD patches:
> https://github.com/jarkkojs/systemd/commits/userland/
Bubblewrap: https://github.com/jarkkojs/bubblewrap/commits/userland
README.md update explains all this:
When supported by the running kernel, bubblewrap opportunistically uses
userns_set_idmap() to configure user namespace ID mappings and
userland_open() with CLONE_INTO_USERLAND to populate the sandbox mount
namespace directly without pivot_root(), falling back to
/proc/<pid>/{uid_map,setgroups,gid_map} and classic namespace cloning
otherwise.
Podman ought to be similar wiring as SystemD so that does not have as
much demonstrative value (but would be equally trivial to accomplish).
Br, Jarkko