mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3510] Audacity not working. #2211
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#2211
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 @ask6155 on GitHub (Jul 15, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3510
Bug and expected behavior
I have firejail installed and I ran audacity and it didn't run.
It gave error:
I expected it to run.
No profile or disabling firejail
firejail --noprofile PROGRAMin a shell?It runs.
whereis PROGRAM,firejail --list,stat $programpath)?It does run fine.
Reproduce
Environment
Linux distribution and version
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
Firejail version (output of
firejail --version) exclusive or used git commit (git rev-parse HEAD)firejail version 0.9.62
Compile time support:
- AppArmor support is enabled
- AppImage support is enabled
- chroot support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- overlayfs support is enabled
- private-home support is enabled
- seccomp-bpf support is enabled
- user namespace support is enabled
- X11 sandboxing support is enabled
I don't know? none?
No.
Additional context
After boot I run audacity and it just exits with the error but after I run it through PATH (like /bin/audacity) it works fine, but gives same warning. then from on it can run just fine (I can directly run it)
i.e. after running it without profile once it always works even without the --noprofile flag.
Checklist
find / -name 'firejail' 2>/dev/null/fd firejailto locate profiles ie in/usr/local/etc/firejail/PROGRAM.profile)debug output
@bbhtt commented on GitHub (Jul 17, 2020):
The error you pointed out comes from wxGtk,and it shouldn't cause audacity not to launch under firejail, at least that's what I found when I tested under arch. I did a build from the source too https://wiki.audacityteam.org/wiki/Building_On_Linux and it's fixed there and launches through firejail profile. Do a
pacman -Syuand removewxgtk-common-3.0.5.1-1-x86_64 wxgtk3-3.0.5.1-1-x86_64and any package that depends on it, build audacity's fork of wxGtk and build audacity from source.@ask6155 commented on GitHub (Jul 19, 2020):
Um I don't understand what you are telling me to do. I updated all packages and it didn't work. I removed wxgtk but it was a dependency of audacity so audacity got removed ¯_(ツ)_/¯ I installed audacity and wxgtk again but it still didn't work.
I did try to compile audacity and inturn audacity's wxGTK fork but I have a crappy pc and it was taking more than 20mins...
@rusty-snake commented on GitHub (Jul 19, 2020):
@kortewegdevries if
firejail audacityis broken andfirejail --noprofile audacityworks, then there is a issue with firejail and to with the package.@bbhtt commented on GitHub (Jul 19, 2020):
Audacity under firejail works with its profile on my Arch even though it shows all kind of error messages (same without firejail) in the terminal (including the one here),at least for me. Compile time was an 1-1.5 hour, for me utilising 2/4 cores.
@rusty-snake commented on GitHub (Jul 19, 2020):
There can still be an error w/o a message. @ask6155 is anything in the syslog/journal?
@ask6155 commented on GitHub (Jul 21, 2020):
I checked the journal. Audacity dumped core (I think) Here is the useful part:
@rusty-snake commented on GitHub (Jul 21, 2020):
Can you try with
firejail --ignore=apparmor '--seccomp=!mprotect' audacity.@ask6155 commented on GitHub (Jul 22, 2020):
It still crashed and I think the journal log is different this time.
@rusty-snake commented on GitHub (Jul 22, 2020):
I've no idea, and mprotect shouldn't be blocked. Can you try
firejail --ignore=apparmor --ignore=seccomp --ignore=no3d /usr/bin/audaity. If this does not work, comment the hole profile and uncomment it line for line.@ask6155 commented on GitHub (Jul 27, 2020):
I ran the command. It didn't work. I commented out lines one by one and when
memory-deny-write-executewas commented out, it worked.@bbhtt commented on GitHub (Jul 27, 2020):
This should be fixed in master
779937d250Should this be logged in journal?@rusty-snake commented on GitHub (Jul 27, 2020):
Yes it is logged:
SECCOMP … arch=c000003e syscall=319 …(tried with gedit)Did you checked?