mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4175] Discord Canary profile doesn't work FireJail using its own profile #2564
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#2564
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 @yusi1 on GitHub (Apr 10, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4175
Bug and expected behavior
Today I installed Discord-Canary edition and it launched with the profile "electron", but it did not launch with it's own profile "discord-canary". When it launches with it's own profile it exits with: "/usr/bin/discord-canary: line 2: exec: electron: not found".
No profile and disabling firejail
Although I could of launched this application with "--noprofile", I wanted to sandbox Discord anyway. It launched when I tried "--noprofile" and "--profile=electron". When Discord (non-canary) edition is launched with its own profile, it works and does not produce such error.
Reproduce
Steps to reproduce the behavior:
firejail discord-canaryor 'firejail --profile=discord-canary discord-canary' or 'firejail /usr/bin/discord-canary' or 'firejail --profile=discord-canary /usr/bin/discord-canary'/usr/bin/discord-canary: line 2: exec: electron: not foundEnvironment
OS: Arch Linux x86_64
Kernel: 5.11.12-arch1-1
Firejail Version: 0.9.64.4 (everything at compile time is enabled except overlayfs and SELinux support)
Additional context
This issue does not occur with the normal Discord version and its corresponding profile. Nor does it occur when Discord-canary is launched with the profile 'electron'.
Checklist
https://github.com/netblue30/firejail/issues/1139)--profile=PROFILENAMEis used to set the right profile.LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAMto get english error-messages.browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.debug output
@rusty-snake commented on GitHub (Apr 10, 2021):
Does it work with this discord-canary.local?
@yusi1 commented on GitHub (Apr 10, 2021):
Yes! this worked, thanks a lot!
@rusty-snake commented on GitHub (Apr 10, 2021):
These extra electron binaries seem to be an Arch thing, we should check if there are more then the current 2 + discord-canary.