-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profile for signal-desktop fails! #4937
Comments
Did you set |
Indeed I did. I followed the instructions to harden firejail. I suppose this is an issue. How should I handle the situation? |
You can not set nnp and disable userns if you want to use chromium* programs. Either set |
From what I read |
The idea behind
It's such a huge security risk that it is the default in mainline, Debian, Ubuntu, Mint, Fedora, ... kernels. Did you know that firefox is a security risk?
Yes you can #2097, #3665 (comment), #3016, ... |
Thank you for the links. I left the hardening in place. I created a script to remove the links from applications I want to exclude.
Then I modified the pacman hook accordingly to run the script everytime it runs firecfg.
|
All this issue is about a problem caused by multiple hardening option to mitigate potential user2root exploits (which aren't much of an issue for the most desktop systems) that could be discovered in the future.. And to fix it you automatically execute a user writeable script as root? Think of your thread models. |
Thank you for your concern, but the script is not user writable.
As long as some applications make problems with firejail, I will exclude them and let Apparmor handle them. It is a single application so far, so I think this is a good compromise. |
Is rm -f ~/scripts/firejail-disable-helper.sh
echo -e '#!/bin/bash\nrm -rf /' > ~/scripts/firejail-disable-helper.sh
chmod +x ~/scripts/firejail-disable-helper.sh |
Oh, I actually did not know that this works. Thanks for explaining. I moved the script to /root/scripts for now. I still think only excluding the few applications that make problems is the best way to go. |
Description
I tried to launch signal-desktop after running firecfg and the program fails to start.
Steps to Reproduce
Expected behavior
Signal should start.
Actual behavior
Behavior without a profile
LC_ALL=C firejail --noprofile /path/to/program
Calling signal by running
/bin/signal-desktop
causes Signal to launch as expected.Environment
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/program
EDIT by @rusty-snake: fix markdown checklist; fix details tag
The text was updated successfully, but these errors were encountered: