mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5500] firefox: cannot access the microphone (possibly pipewire related) #3018
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#3018
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 @jmcclelland on GitHub (Dec 2, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5500
Description
When running Firefox version 107 via firejail, I am unable to grant permission for the browser to use my microphone. I am able to hear sound through my speakers, but the microphone doesn't work.
Steps to Reproduce
LC_ALL=C firejail /usr/bin/firefoxExpected behavior
I expect to choose a mic and begin using it via firefox.
Actual behavior
No mics work and Jitsi meet marks all mics as non-functioning.
Behavior without a profile
When I run
LC_ALL=C firejail --noprofile firefoxit works as expected.Additional context
The breakage happened after an upgrade and reboot. I can't be 100% sure, but my system is now running pipewire and may not have been running pipewire before. Or it might have been an upgrade to firefox 107 that caused the problem.
Additional details: When running chromium via firejail, the microphones work. When running with firefox-esr (102.5) it works.
Environment
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)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/programhttps://gist.github.com/jmcclelland/f19dc5ec33e21af98cfcbdd2dfa70e68
EDIT by @rusty-snake: Fix markdown
@rusty-snake commented on GitHub (Dec 2, 2022):
about:config/env-var workaround.about:supportsay about PW/PA?@jmcclelland commented on GitHub (Dec 3, 2022):
Thank you for the help!
I believe that FF uses pulse audio, and that goes through
/usr/bin/pipewire-pulseon a pipewire systemAudio Backend pulse-rust
Built-in audio analog stereo
Thanks in advance for any suggestions on things to try.
@jmcclelland commented on GitHub (Dec 3, 2022):
I'm beginning to think this is buggy firefox and/or jitsi meet behavior. I discovered that by clicking the microphone options in different orders I can get it to work. I don't think this is a firejail issue after all.
@kmk3 commented on GitHub (Dec 3, 2022):
(Re-closing as "not planned" since nothing was changed in firejail)
Feel free to post any updates and to request to reopen if it seems that
firejail affects the issue.