-
Notifications
You must be signed in to change notification settings - Fork 577
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
vscodium: crashes due to seccomp #4428
Comments
I've no idea, looks like you need to comment the profile and uncomment it like for line.
What's in it. |
a few |
well $ grep -L "^caps.drop all$" $(grep -l "^include disable-common.inc$" /etc/firejail/*.profile)
/etc/firejail/bitlbee.profile
/etc/firejail/chromium-common.profile
/etc/firejail/dnscrypt-proxy.profile
/etc/firejail/dnsmasq.profile
/etc/firejail/electron.profile
/etc/firejail/fdns.profile
/etc/firejail/gnome-nettool.profile
/etc/firejail/gnome-schedule.profile
/etc/firejail/k3b.profile
/etc/firejail/ping.profile
/etc/firejail/qupzilla.profile
/etc/firejail/server.profile
/etc/firejail/spectre-meltdown-checker.profile
/etc/firejail/tcpdump.profile
/etc/firejail/tor.profile
/etc/firejail/unbound.profile
/etc/firejail/virtualbox.profile
/etc/firejail/vmware.profile
/etc/firejail/wireshark.profile |
I added |
|
What's the point of sandboxing if you have to disable all of it at least once to get things working? I could get it to work by commenting out these:
in code.profile and |
Why is it closed before there is at least a pull-request for these changes to code.profile? The duplicate issue is only about renaming the .profile afaik. There should probably also be an issue at vscodium (and/or vscode) about why these changes are suddenly required to make it start. |
Duplicate of #4408. Fixed by 8f867d0
See above
Nope. Read #3754, #2946, #2933, #4087, #3871. Summary: The electron sandbox requires the
Looks like VsCodium has updated the electron version they use.
What's the reason you do sandboxing? |
TBH code.profile does to have I recommend to set |
So the weak sandboxing profile for Codium and its further weakening are due to Electron and changes to Electron and the solution you propose for that would be setting |
With Which will set
https://github.com/netblue30/firejail/blob/0.9.64.4/etc/inc/chromium-common-hardened.inc And you can remove the sudi bit from |
Codium (v1.58.2) doesn't run with firejail anymore.
When I run
firejail --profile=/etc/firejail/vscodium.profile /usr/bin/codium
I get:with the only thing in syslog being this:
kernel: [...] traps: codium[...] trap int3 ip:... sp:... error:0 in codium[...]
Furthermore, the profile should be renamed to codium.profile as vscodium has been renamed: #3871.
Bug and expected behavior
I expected it to start VsCodium like it used to but it didn't.
No profile and disabling firejail
Reproduce
Steps to reproduce the behavior:
firejail --profile=/etc/firejail/vscodium.profile /usr/bin/codium
Environment
Additional context
Checklist
https://github.com/netblue30/firejail/issues/1139
)--profile=PROFILENAME
is used to set the right profile.LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAM
to get english error-messages.browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.debug output
The text was updated successfully, but these errors were encountered: