You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, VS Code stopped working for me. I fixed it by adding seccomp !chroot to code.local
Bug and expected behavior
Describe the bug. code fails with and error that reference sys_chroot
What did you expect to happen? code runs like normal
No profile and disabling firejail
What changed calling firejail --noprofile /path/to/program in a terminal? it runs
What changed calling the program by path (e.g. /usr/bin/vlc)? it runs
Reproduce
Steps to reproduce the behavior:
Run in bash firejail code
See error Check failed: sys_chroot("/proc/self/fdinfo/") == 0
Environment
Linux distribution and version (ie output of lsb_release -a, screenfetch or cat /etc/os-release Arch
Firejail version (output of firejail --version) exclusive or used git commit (git rev-parse HEAD)
> firejail --version
firejail version 0.9.66
Compile time support:
- always force nonewprivs support is disabled
- AppArmor support is enabled
- AppImage support is enabled
- chroot support is enabled
- D-BUS proxy support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- output logging is enabled
- overlayfs support is disabled
- private-home support is enabled
- private-cache and tmpfs as user enabled
- SELinux support is disabled
- user namespace support is enabled
- X11 sandboxing support is enabled
Additional context
Other context about the problem like related errors to understand the problem.
Checklist
The profile (and redirect profile if exists) hasn't already been fixed upstream.
The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
I have performed a short search for similar issues (to avoid opening a duplicate).
If it is a AppImage, --profile=PROFILENAME is used to set the right profile.
Used LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAM to get english error-messages.
I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
Recently, VS Code stopped working for me. I fixed it by adding
seccomp !chroot
to code.localBug and expected behavior
code fails with and error that reference sys_chroot
code runs like normal
No profile and disabling firejail
firejail --noprofile /path/to/program
in a terminal?it runs
/usr/bin/vlc
)?it runs
Reproduce
Steps to reproduce the behavior:
firejail code
Check failed: sys_chroot("/proc/self/fdinfo/") == 0
Environment
lsb_release -a
,screenfetch
orcat /etc/os-release
Arch
firejail --version
) exclusive or used git commit (git rev-parse HEAD
)Additional context
Other context about the problem like related errors to understand the problem.
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: