mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3765] Spotify 1.1.42.622 Hangs on Arch Linux #2371
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#2371
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 @njfox on GitHub (Nov 21, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3765
Launching spotify via firejail on archlinux causes it to hang after the spotify window opens. I see the following warnings/errors related to libcurl-gnutls.so.4, although I'm not sure if it's related to the issue:
Any ideas on how to troubleshoot?
update: Looks like the same warnings happen when launching without firejail, so they appear to be irrelevant. I tried commenting out
private opt spotifybut that didn't change anything.@rusty-snake commented on GitHub (Nov 21, 2020):
First try
firejail --noprofile /opt/spotify/spotify, if that fails it will be hard to fix (if it is possible to fix).Try
firejal --private-etc=ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload /opt/spotify/spotify. If this did not help, tryfirejail --ignore=private-etc /opt/spotify/spotify. If it's still broken, copy /etc/firejail/spoify.profile to your home, open it in a text editor and comment everything. Then uncomment it line for line and tryfirejail --profile=~/spotify.profile /opt/spotify/spotifyto find the line(s) which cause this.@njfox commented on GitHub (Nov 21, 2020):
Thanks,
--noprofileworks fine, butfirejail --private-etc=ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload /opt/spotify/spotifydoes not. It seems to be an issue with the GUI not updating, as I can click on the play button and music will play, but nothing in the window will animate when mousing over/clicking.@rusty-snake commented on GitHub (Nov 21, 2020):
I see no lines in spotify.profile who smile at me and say it's me, so the good old trial-and-error solution is probably the best. Is something related in the syslog? I think the most hangs are caused by seccomp, so you could try
firejail --ignore=seccomp /opt/spotify/spotify.@njfox commented on GitHub (Nov 22, 2020):
firejail --ignore=seccompfixes the issue. What does that mean for tuning the profile? Is there a way to adjust the seccomp configuration without disabling it completely?@rusty-snake commented on GitHub (Nov 22, 2020):
If you have a AMD-GPU it's #3219, add
seccomp !kcmpto your spotify.local if that's the case.If not, run
journalctl --grep=SECCOMP --reverseand look for spotify (comm="spotify"orexec="/opt/spotify/spotify") then scroll tosyscall=NUMBERin that line and runfirejail --debug-syscalls | grep NUMBER. Now you can runfirejail '--seccomp=!SYSCALL /opt/spotify/spotifyto test.@njfox commented on GitHub (Nov 22, 2020):
Thanks! I do have an AMD GPU and
seccomp !kcmpfixed it.