bubblewrap
bubblewrap copied to clipboard
Low-level unprivileged sandboxing tool used by Flatpak and similar projects
I did test this and it works...but I'm a little uncertain about whether it's correct. Netlink scares me :smile: I tried looking at other reference code, but systemd has custom...
The setsid() workaround of https://github.com/projectatomic/bubblewrap/pull/143 is problematic, because it e.g. breaks shell job control for bubblewrap instances. So, instead we use a seccomp approach based on: https://github.com/karelzak/util-linux/commit/8e4925016875c6a4f2ab4f833ba66f0fc57396a2 However, since we...
The `ip` utility has a subcommand to create persistent network namespaces, and to run processes in these namespaces. It would be really handy if bubblewrap could put processes into network...
Hi, I recently wrote a [bwrap script for Firefox in bash](https://gitlab.com/TheEvilSkeleton/bubblewrap/-/blob/main/firefox). However, whenever I try to launch it like a normal script or binary, I get the following error: ```...
When running in podman rootless container launched with `--userns=keep-id` alone, `bwrap` refuses to run with following message: ``` bwrap: Unexpected capabilities but not setuid, old file caps config? ``` However,...
```console kreyren@leonid ~$ cat path/to/script.sh | ix http://ix.io/3Eod kreyren@leonid ~$ ~/Repositories/nix-run/script.sh ls bwrap: execvp ls: No such file or directory ``` This is in GNU Guix's environment trying to re-create...
Several `bwrap` options have semantics and defaults that, with hindsight, are perhaps not what we would have wanted. One way to improve on this might be to borrow an idea...
While we allow the creation of a new netns, we don't allow configuring it, so our current support is "host network" or "none". It would be quite interesting to allow...
The man page states: > By default no caps are left in the sandboxed process. Additionally one would expect `--ro-bind` to prevent writing by the sandboxed process. However when started...