13
submitted 10 months ago by reksas@sopuli.xyz to c/linux@lemmy.world

I read there is something called firejail that does this, but according to the reviews on software manager, some have had it destroy their system or mess up their programs, so i dont want to risk that.

There was also something called bubblewrap, but it has no reviews at all.

How big risk does the firejail have and are there any other programs that are good or better for this? I already managed to mess up my system once (blackscreen after login. I think installing portmaster caused it or installing and uninstalling some software + its dependencies), but fortunately i had backup of the system so i could reverse the damage, so i'm a bit more cautious now.

Also, are there any other concerns that one should know about regarding sandboxing?

you are viewing a single comment's thread
view the rest of the comments
[-] tal@lemmy.today 6 points 10 months ago

[continued from parent]

Here's an example firejail profile that I use with renpy on Wayland, for example, which is a software package that runs [visual novels](https:. Note that this won't run everything, especially since one is using a different version of renpy than a game ships with, but generally, with this in place, one can just go to a renpy game's directory and type firejail renpy . and it'll run. This doesn't isolate RenPy games against each other, but it does keep them from mucking with the rest of the system:

renpy firejail profile

# whitelist profile for RenPy (game)
noblacklist ${HOME}/.renpy

include disable-common.inc
include disable-programs.inc
include disable-devel.inc

caps.drop all
net none
nogroups
nonewprivs
noroot
seccomp

tracelog

private-dev
private-tmp

mkdir     ~/.renpy
whitelist ~/.renpy

# All Renpy games need to be stored under here.
whitelist ${HOME}/m/restricted-game/
read-only ${HOME}/m/restricted-game/
read-write ${HOME}/m/restricted-game/renpy

nodvd
notv
nou2f
seccomp.block-secondary

More of a tool for letting one run that non-packaged software in isolation...but one needs to generally set up the profiles oneself. For example, that profile blocks network access to renpy games...but there are games that will fail if they can't access the network (though you could say that this is desirable, if you don't want those games phoning home).

this post was submitted on 13 Nov 2025
13 points (93.3% liked)

Linux

19270 readers
61 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS