mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2946] Electron & Chromium #1840
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1840
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rusty-snake on GitHub (Sep 6, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2946
There are serveral issues with the chromium sandbox (see below) which is also used in electron. If firejail breaks a electron-based program (or any other program internaly using chromium) and the problem can be fixed by adding
seccomp !chrootto PROFILE.local, post here which program is affected. Note: If you are not using firejail lastet git, you must add the following to PROFILE.local to get the same effect:If this doesn't work, but
firejail --ignore=nonewprivs --ignore=noroot --ignore=protocol --ignore=seccomp --ignore=caps.drop --caps.keep=sys_admin,sys_chroot PROGRAMworks, say it here. Otherwise open a new issue.If none of the commands works, open a new issue.
Some issues about the chromium-sandbox:
#2933 - skypeforlinux 8.51.0.86 now requires SYS_ADMIN, SYS_CHROOT capabilities
#2912 - Skypeforlinux 8.51.0.72 crashes on startup since it's not permitted to use the chroot syscall
#2945 - Signal 1.27 Fails to Start
#2866 - new version of Slack Desktop (4.0) not working
#2854 - Standard notes not working
#2901 - [Teamspeak 3] crashes on opening options window if seccomp is enabled
#2821 - /usr/bin/riot-desktop: line 3: 8 Trace/breakpoint trap (core dumped) electron /usr/lib/riot/ "$@"
#2943 - firejail - Ubuntu 19.10 snap chromium incompatibility
#2944 - Firejail breaks Brave browser default sandboxing
Three new issues in 10 hours 😱 .

@daks commented on GitHub (Oct 9, 2019):
Hi,
I again have a problem with slack after upgrading it to 4.1.1 on Debian 9.
I use firejail version from Debian, and created a
slack.localwith theprivate-etctip from #2866I tried to add to it the parameters indicated above, without change.
update not sure about the following, it may be because i use fish as a shell
I tried also the command
firejail --ignore=nonewprivs --ignore=noroot --ignore=protocol --ignore=seccomp --ignore=caps.drop --caps.keep=sys_admin,sys_chroot slackwithout success.@StarPicard commented on GitHub (Oct 13, 2019):
Hi,
Visual Studio Code won't start up at all under Archlinux.
This is the output at startup:
Tried both commands recommended at the top.
@rusty-snake commented on GitHub (Oct 13, 2019):
@daks @StarPicard Can you guys open own issues for that. This issue is to catch the chromium sandbox on program update (I update the OP).
@StarPicard can you also post your globals.local.
@daks commented on GitHub (Oct 15, 2019):
@rusty-snake done
@rusty-snake commented on GitHub (Dec 23, 2019):
All AppImages with chromium/electron programs are broken because
--appimageforcecaps.drop=allbutsys_admin,sys_chrootare needed.@cyrinux commented on GitHub (Jan 15, 2020):
Hi, wire-desktop (electron6) got the problem.
@rusty-snake commented on GitHub (Jan 16, 2020):
@cyrinux thx, can you confirm that this(27eb40b) works.
@cyrinux commented on GitHub (Jan 17, 2020):
Hi @rusty-snake it works like this with electron6 bin too in my case (under archlinux)
@setpill commented on GitHub (Mar 13, 2020):
Slack is broken, fixed when adding
seccomp !chrootto~/.config/firejail/slack.local@tscolari commented on GitHub (Apr 3, 2020):
I've added the fixes but slack (4.4.0) is still not working. It got rid of the errors but get stuck in the
Creating Slack Application.@rusty-snake commented on GitHub (Apr 3, 2020):
How do you installed slack? snap isn't supported by firejail.
@tscolari commented on GitHub (Apr 11, 2020):
I've installed it from the .deb file, not the snap store :(
@rusty-snake commented on GitHub (Apr 11, 2020):
Can you post your current profile.
@bbhtt commented on GitHub (Aug 17, 2020):
I don't know what the issue is with slack but this profile seems to work for me on Arch using the AUR slack-desktop package, the sign-in won't work because that is a redirect to firefox, so one time setup without firejail and subsequent sessions can be firejailed https://imgur.com/pWZjW6x
This is more hardened than in master.
https://termbin.com/688p