Skip to content

Some review based on reading the bubblejail script #2

@rusty-snake

Description

@rusty-snake

_need_path_rw+=" $XDG_RUNTIME_DIR/${WAYLAND_DISPLAY:-wayland-0}"

In theory WAYLAND_DISPLAY can contain an absolute path, though it's very uncommon.


Pulseaudio requires /etc/machine-id.


--as-pid-1 \

This can cause trouble with some programs and I see no good reason why it should be the default. Is there any reason why you added it as default.


There is no way to share a device (say /dev/video0). Exposing bwrap's --dev-bind[-try] would be helpful.


bubblejail/bubblejail

Lines 262 to 264 in 82869d3

--tmpfs /run \
--tmpfs /tmp \
--tmpfs /var \

Those flags can be replaced by --dir because / is already an tmpfs.


--new-session is important unless you have an replacement in form of an seccomp filter.


seccomp is important! even if it is complicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions