mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3613] Disabling /dev/snd/ with private-dev? #2271
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#2271
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 @Futureknows on GitHub (Aug 29, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3613
Is it possible to blacklist /dev/snd/ along with private-dev?
I've tried including
blacklist=/dev/snd/but applications still see the sound system.Pulseaudio exposes sound hardware UIDs to applications.
I saw that /snd/ was included in private-dev, it could be useful to have more granular control.
@rusty-snake commented on GitHub (Aug 29, 2020):
Works for me.
You can use
nosound(firejail --noprofile --nosound ls /dev/snd -ld) to hide /dev/snd. Usingblacklistonly makes it inaccessible, which also leaks nothing.@rusty-snake commented on GitHub (Sep 1, 2020):
I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.