-
Notifications
You must be signed in to change notification settings - Fork 584
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
discord: Error: no suitable /usr/bin/discord executable found #6625
Comments
1a576d1
What is the output of the following: which -a /usr/bin/discord
ls -l /usr/bin/discord
What happens with
What happens with |
$ which -a /usr/bin/discord
/usr/bin/discord $ ls -l /usr/bin/discord
lrwxrwxrwx 1 root root 24 Jan 14 08:04 /usr/bin/discord -> ../share/discord/Discord
With
|
What is the output of the following? which -a Discord
which -a discord
ls -l /usr/share/discord
ls -l /usr/share/discord/Discord
firejail --ignore=private-bin --profile=discord \
ls -l /usr/share/discord
firejail --ignore=private-bin --profile=discord \
ls -l /usr/share/discord/Discord |
$ which -a Discord
$ $ which -a discord
/usr/local/bin/discord
/usr/bin/discord
/bin/discord $ ls -l /usr/share/discord
total 207032
-rw-r--r-- 1 root root 151721 Dec 7 15:04 chrome_100_percent.pak
-rw-r--r-- 1 root root 229770 Dec 7 15:04 chrome_200_percent.pak
-rwxr-xr-x 1 root root 2317912 Jan 14 08:04 chrome_crashpad_handler
-rwsr-xr-x 1 root root 15104 Jan 14 08:04 chrome-sandbox
-rwxr-xr-x 1 root root 175756320 Jan 14 08:04 Discord
-rw-r--r-- 1 root root 309 Jan 14 08:04 discord.desktop
-rw-r--r-- 1 root root 7009 Jan 14 07:53 discord.png
-rw-r--r-- 1 root root 10468208 Dec 7 15:04 icudtl.dat
-rw-r--r-- 1 root root 241976 Jan 14 08:04 libEGL.so
-rw-r--r-- 1 root root 3995840 Jan 14 08:04 libffmpeg.so
-rw-r--r-- 1 root root 6827016 Jan 14 08:04 libGLESv2.so
-rw-r--r-- 1 root root 4736048 Jan 14 08:04 libvk_swiftshader.so
-rw-r--r-- 1 root root 574824 Jan 14 08:04 libvulkan.so.1
drwxr-xr-x 2 root root 4096 Jan 15 11:15 locales
-rwxr-xr-x 1 root root 861 Jan 14 08:04 postinst.sh
drwxr-xr-x 3 root root 4096 Jan 15 11:15 resources
-rw-r--r-- 1 root root 5642201 Dec 7 15:04 resources.pak
-rw-r--r-- 1 root root 313526 Dec 7 15:04 snapshot_blob.bin
-rw-r--r-- 1 root root 665981 Dec 7 15:04 v8_context_snapshot.bin
-rw-r--r-- 1 root root 107 Dec 7 15:04 vk_swiftshader_icd.json $ ls -l /usr/share/discord/Discord
-rwxr-xr-x 1 root root 175756320 Jan 14 08:04 /usr/share/discord/Discord $ firejail --ignore=private-bin --profile=discord \
ls -l /usr/share/discord
Reading profile /etc/firejail/discord.profile
Reading profile /etc/firejail/globals.local
Reading profile /etc/firejail/discord-common.profile
Reading profile /etc/firejail/electron-common.profile
Reading profile /etc/firejail/blink-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.73
Parent pid 1257670, child pid 1257673
Warning: NVIDIA card detected, nogroups command ignored
Private /opt installed in 0.08 ms
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning fcopy: cannot create symbolic link /etc/alternatives/x-www-browser
Warning fcopy: cannot create symbolic link /etc/alternatives/brave-browser
Warning fcopy: cannot create symbolic link /etc/alternatives/drawio
Warning fcopy: cannot create symbolic link /etc/alternatives/google-chrome
Warning fcopy: cannot create symbolic link /etc/alternatives/pbr
Warning fcopy: cannot create symbolic link /etc/alternatives/js
Warning fcopy: cannot create symbolic link /etc/alternatives/js.1.gz
Warning fcopy: cannot create symbolic link /etc/alternatives/apalache-mc
Warning fcopy: cannot create symbolic link /etc/alternatives/dafny
Warning fcopy: cannot create symbolic link /etc/alternatives/gnome-www-browser
Warning fcopy: cannot create symbolic link /etc/alternatives/signal-desktop
Warning fcopy: cannot create symbolic link /etc/alternatives/dafny3
Warning fcopy: cannot create symbolic link /etc/pulse/client.conf.d/01-enable-autospawn.conf
Private /etc installed in 35.89 ms
Base filesystem installed in 93.83 ms
Warning: NVIDIA card detected, nogroups command ignored
Warning: NVIDIA card detected, nogroups command ignored
Child process initialized in 209.65 ms
ls: cannot access '/usr/share/discord': No such file or directory
Parent is shutting down, bye... $ firejail --ignore=private-bin --profile=discord \
ls -l /usr/share/discord/Discord
Reading profile /etc/firejail/discord.profile
Reading profile /etc/firejail/globals.local
Reading profile /etc/firejail/discord-common.profile
Reading profile /etc/firejail/electron-common.profile
Reading profile /etc/firejail/blink-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.73
Parent pid 1257927, child pid 1257930
Warning: NVIDIA card detected, nogroups command ignored
Private /opt installed in 0.08 ms
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning fcopy: cannot create symbolic link /etc/alternatives/x-www-browser
Warning fcopy: cannot create symbolic link /etc/alternatives/brave-browser
Warning fcopy: cannot create symbolic link /etc/alternatives/drawio
Warning fcopy: cannot create symbolic link /etc/alternatives/google-chrome
Warning fcopy: cannot create symbolic link /etc/alternatives/pbr
Warning fcopy: cannot create symbolic link /etc/alternatives/js
Warning fcopy: cannot create symbolic link /etc/alternatives/js.1.gz
Warning fcopy: cannot create symbolic link /etc/alternatives/apalache-mc
Warning fcopy: cannot create symbolic link /etc/alternatives/dafny
Warning fcopy: cannot create symbolic link /etc/alternatives/gnome-www-browser
Warning fcopy: cannot create symbolic link /etc/alternatives/signal-desktop
Warning fcopy: cannot create symbolic link /etc/alternatives/dafny3
Warning fcopy: cannot create symbolic link /etc/pulse/client.conf.d/01-enable-autospawn.conf
Private /etc installed in 35.14 ms
Base filesystem installed in 93.67 ms
Warning: NVIDIA card detected, nogroups command ignored
Warning: NVIDIA card detected, nogroups command ignored
Child process initialized in 207.67 ms
ls: cannot access '/usr/share/discord/Discord': No such file or directory
Parent is shutting down, bye... |
That is strange, as discord.profile has It works for me: $ sudo mkdir /usr/share/discord
$ firejail --quiet --ignore=private-bin --profile=discord \
ls -l /usr/share/discord
total 0 Do you have anything in globals.local? What is the output of: ls -l /usr/share | grep discord
firejail --ignore='include globals.local' --ignore=private-bin \
--profile=discord \
ls -l /usr/share | grep discord You can also use an interactive shell to debug paths and see if you find firejail --quiet --tab --ignore='include globals.local' --ignore=private-bin \
--profile=discord \
/bin/bash |
Solved. |
Description
Discord does not work with firejail-git,
Steps to Reproduce
Run in bash:
Expected behavior
Discord starts and operates as when launched outside of firejail.
Actual behavior
Discord doesn't start and outputs the following error:
Behavior without a profile
With
--noprofile
, Discord starts and operates as expected.Additional context
Discord works with firejail version 0.9.72
Environment
uname -srm
): Linux 5.15.0-92-generic x86_64mesa 1:24.3.3-2"): discord stable 360320 (38aca73)
firejail --version
): 0.9.73was compiled (
git rev-parse HEAD
): 1a576d1Checklist
/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
Output of
LC_ALL=C firejail --debug /path/to/program
discord-debug.log
The text was updated successfully, but these errors were encountered: