mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5329] firefox: no audio with bluez-alsa on NixOS (dbus-system) #2959
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#2959
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 @imxade on GitHub (Aug 21, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5329
Discussed in https://github.com/netblue30/firejail/discussions/5328
Originally posted by imxade August 20, 2022
On NixOS,
im using bluez-alsa for bluetooth headset
plays audio through default Bluetooth device
but
doesn't play audio when default device is a Bluetooth one.
i've whitelisted $HOME & $XDG_RUNTIME_DIR but no luck.
In case of pulseaudio, firejailed firefox plays fine through bluetooth.
how can i get it working with bluez-alsa ?
@jaens commented on GitHub (Aug 22, 2022):
Try using PulseAudio or PipeWire instead of raw ALSA? PulseAudio has working firejail integration.
@imxade commented on GitHub (Aug 22, 2022):
2nd last line
@jaens commented on GitHub (Aug 22, 2022):
If it works with PulseAudio, what's the point of using ALSA? (granting sandboxed programs access to raw audio devices does not seem very security-minded either...)
@imxade commented on GitHub (Aug 22, 2022):
Got it, but still is there any way to get bluealsa working ?
@kmk3 commented on GitHub (Aug 25, 2022):
@imxade commented on Aug 21:
What is the output of
firejail --version?What is the path to the headset in /dev?
nou2fmight be blocking it if it shows up in a path matching/dev/hidraw*and Firefox tries to access it through that.
Does adding
browser-disable-u2f noto /etc/firejail/firejail.config fix it?If not, try commenting out lines in firefox.profile and firefox-common.profile
to find out what command is blocking it.
@imxade commented on GitHub (Aug 25, 2022):
@kmk3
on adding
--ignore=dbus-system, bluetooth device is playing fine.Is there any better way to achieve the same behavior without sacrificing much security ?