[GH-ISSUE #4361] Allow firefox to use sndio sound system #2634

Closed
opened 2026-05-05 09:17:40 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @nullenvk on GitHub (Jun 19, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4361

When using firejail, firefox can't play audio through sndio (an alternative to pulseaudio) because it requires access to $HOME/.sndio/cookie and access to semtimedop syscall (not allowed by seccomp in the latest profile).

Sandbox: seccomp sandbox violation: pid 346, tid 521, syscall 220, args 98337 140394627065644 2 0 140394983969900 140394344206992.
[Child 346, MediaDecoderStateMachine #1] WARNING: 7fb01b021ba0 OpenCubeb() failed to init cubeb: file /var/tmp/portage/www-client/firefox-89.0.1/work/firefox-89.0.1/dom/media/AudioStream.cpp:323
Originally created by @nullenvk on GitHub (Jun 19, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4361 When using firejail, firefox can't play audio through sndio (an alternative to pulseaudio) because it requires access to $HOME/.sndio/cookie and access to semtimedop syscall (not allowed by seccomp in the latest profile). ``` Sandbox: seccomp sandbox violation: pid 346, tid 521, syscall 220, args 98337 140394627065644 2 0 140394983969900 140394344206992. [Child 346, MediaDecoderStateMachine #1] WARNING: 7fb01b021ba0 OpenCubeb() failed to init cubeb: file /var/tmp/portage/www-client/firefox-89.0.1/work/firefox-89.0.1/dom/media/AudioStream.cpp:323 ```
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#2634
No description provided.