mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1739] Firefox 59.0b1, pulseaudio #1179
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#1179
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 @yourcelf on GitHub (Jan 18, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1739
I'm not able to get audio working in Firefox 59.0b1 (Developer Edition), with pulseaudio v8.0 and firejail v0.9.38.10-0ubuntu0.16.04.1 (both the Ubuntu 16.04.3 distro versions). When I try playing, I get the above error in Firefox: "To play audio, you may need to install the required PulseAudio software." Audio was working fine in previous versions of Firefox, and it works fine without firejail. Audio also still works fine with firejail + chromium. Seems like Firefox changed something in v59 that's breaking firejail's access to PulseAudio.
I've tried the workarounds in https://firejail.wordpress.com/support/known-problems/#pulseaudio without success. I've been running with
enable-shm = noin ~/.config/pulse for a while already now and it's worked in previous firefoxes; addingenable-memfd = yesto /etc/pulse/daemon.conf seemed to break audio for the whole system.I tried launching with
firejail --noprofile --debug /path/to/firefoxand no luck. When I attempt playback, these errors are printed:@chiraag-nataraj commented on GitHub (Jan 18, 2018):
Huh...those are really old versions of pulseaudio and firejail. You should try installing the latest release version of firejail (it's at 0.9.52 at this point) and, ideally, the latest version of pulseaudio (11.1, at least in Debian sid).
@chiraag-nataraj commented on GitHub (Jan 18, 2018):
Regardless, I'll give it a go on my Debian sid/experimental box and report back. Keep in mind that I'm using the versions of pulseaudio and firejail mentioned above.
@chiraag-nataraj commented on GitHub (Jan 18, 2018):
Worked just fine for me. Here's my firefox profile that I use for firejail - you can give it a try if you want and report back.
firefox.txt
I actually have
enable-shmset to the default ofyes. Same withenable-memfd.@yourcelf commented on GitHub (Jan 18, 2018):
Upgrading to firejail 0.9.52 seems to have fixed it, thanks. Relieving that it still works with the distro's PulseAudio 8.0 and I don't have to try upgrading that against any other dependencies the system has.
Especially for a security app like firejail, it's super nice to be able to use package manager maintained versions to get regular updates. Ubuntu 16.04 (the current LTS) is stuck on firejail 0.9.38.10-0ubuntu0.16.04.1; I'd guess that's generally tracking but lagging on Firejail's own LTS (currently at 0.9.38.12). Ubuntu gets a new LTS this April, but until then the mix of bleeding-edge browser with legacy firejail and pulseaudio might not be viable. I know it'd be a lot of extra work, but a deb repository would help people like me to be able to keep things more current. :)
Thanks very much for your effort to help debug this.