[GH-ISSUE #1312] No sound in Firefox #895

Closed
opened 2026-05-05 07:05:10 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @ghost on GitHub (May 26, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1312

Originally created by @ghost on GitHub (May 26, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1312
gitea-mirror 2026-05-05 07:05:10 -06:00
Author
Owner

@SYN-cook commented on GitHub (May 26, 2017):

Can I ask which Firejail version you are using?

<!-- gh-comment-id:304241303 --> @SYN-cook commented on GitHub (May 26, 2017): Can I ask which Firejail version you are using?
Author
Owner

@netblue30 commented on GitHub (May 26, 2017):

It should work without whitelisting ~/.config/pulse. There is a bug in most PulseAudio versions, see here: https://firejail.wordpress.com/support/known-problems/#pulseaudio.

I would say run "firecfg --fix-sound", logout and login again and all should be fixed. Also, there should be no security implications in whitelisting ~/.config/pulse.

<!-- gh-comment-id:304278240 --> @netblue30 commented on GitHub (May 26, 2017): It should work without whitelisting ~/.config/pulse. There is a bug in most PulseAudio versions, see here: https://firejail.wordpress.com/support/known-problems/#pulseaudio. I would say run "firecfg --fix-sound", logout and login again and all should be fixed. Also, there should be no security implications in whitelisting ~/.config/pulse.
Author
Owner

@SYN-cook commented on GitHub (May 26, 2017):

@rekixex I can actually reproduce it, with Ubuntu 16.04 and Firejail built from master.

If not explicitly whitelisted, ~/.config/pulse is not available in the Firefox sandbox, and as a consequence there are plenty shm_open() failed errors.

I can also confirm that not all applications have this issue (tried with Totem).
EDIT: You see VLC working (I see Totem working) because there is no whitelisting. The bug is related to Pulseaudio and whitelisting.

<!-- gh-comment-id:304314638 --> @SYN-cook commented on GitHub (May 26, 2017): @rekixex I can actually reproduce it, with Ubuntu 16.04 and Firejail built from master. If not explicitly whitelisted, ~/.config/pulse is not available in the Firefox sandbox, and as a consequence there are plenty `shm_open() failed` errors. ~~I can also confirm that not all applications have this issue (tried with Totem).~~ EDIT: You see VLC working (I see Totem working) because there is no whitelisting. The bug is related to Pulseaudio and whitelisting.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#895
No description provided.