mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5748] firejail --appimage doesn't have supplementary groups required for device access #3083
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#3083
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 @amano-kenji on GitHub (Mar 23, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5748
Steps to Reproduce
LC_ALL=C firejail --appimage --noprofile ./OpenBOR_3.0_6391.AppImage.pakfile from https://openborgames.com/ intoPaksfolderExpected behavior
ALSA should work. Input devices like game pads should be recognized.
Actual behavior
Device availability is random. Devices are sometimes accessible. Sometimes, they are not.
Game pads are sometimes recognized.
Additional context
I work around this issue by extracting files from appimage and executing the embedded executable directly with firejail.
Environment
firejail --version)Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)@amano-kenji commented on GitHub (Mar 28, 2023):
I finally found a way to get a shell inside appimage sandbox. I will figure out what went wrong.
@rusty-snake commented on GitHub (Mar 28, 2023):
If ALSA requires permissions via supplementary groups, the usage of --appimagr is the cause.
@amano-kenji commented on GitHub (Mar 28, 2023):
I discovered that with
--appimage, I do not belong inaudiogroup.Without
--appimage, I belong inaudiogroup.ALSA requires membership in
audiogroup.@amano-kenji commented on GitHub (Mar 28, 2023):
I still don't understand how OpenBOR still has access to ALSA without being in
audiogroup.However, its access to ALSA is random at best.
Weirdly, game pads are available randomly in appimage sandbox.
@amano-kenji commented on GitHub (Mar 28, 2023):
What can be done with
--appimage, then?@amano-kenji commented on GitHub (Mar 30, 2023):
This is a duplicate of https://github.com/netblue30/firejail/issues/4951