[GH-ISSUE #279] [Firefox] Video playback not starting #195

Closed
opened 2026-05-05 05:17:29 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @hillbicks on GitHub (Feb 8, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/279

Hey guys,

I think the latest update broke the video playback, at least on my side. The video (html,webm....) is loading, but the playback simply does not start. Starting firefox without firejail works without problems, so I guess the problems has to be somewhere in firejail, maybe in my config?

Firefox: 44.0
firejail: latest version from git.

Firefox.profile

# Firejail profile for Mozilla Firefox (Iceweasel in Debian)
noblacklist ${HOME}/.mozilla
include /etc/firejail/disable-mgmt.inc
include /etc/firejail/disable-secret.inc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
caps.drop all
seccomp
protocol unix,inet,inet6,netlink
netfilter
tracelog
noroot
whitelist ${DOWNLOADS}
whitelist ~/.mozilla
whitelist ~/.cache/mozilla/firefox
whitelist ~/dwhelper
whitelist ~/.zotero
whitelist ~/.lastpass
whitelist ~/.vimperatorrc
whitelist ~/.vimperator
whitelist ~/.pentadactylrc
whitelist ~/.pentadactyl
whitelist ~/.keysnail.js
whitelist ~/.config/gnome-mplayer
whitelist ~/.cache/gnome-mplayer/plugin
include /etc/firejail/whitelist-common.inc

# experimental features
#private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse
Originally created by @hillbicks on GitHub (Feb 8, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/279 Hey guys, I think the latest update broke the video playback, at least on my side. The video (html,webm....) is loading, but the playback simply does not start. Starting firefox without firejail works without problems, so I guess the problems has to be somewhere in firejail, maybe in my config? Firefox: 44.0 firejail: latest version from git. Firefox.profile ``` # Firejail profile for Mozilla Firefox (Iceweasel in Debian) noblacklist ${HOME}/.mozilla include /etc/firejail/disable-mgmt.inc include /etc/firejail/disable-secret.inc include /etc/firejail/disable-common.inc include /etc/firejail/disable-devel.inc caps.drop all seccomp protocol unix,inet,inet6,netlink netfilter tracelog noroot whitelist ${DOWNLOADS} whitelist ~/.mozilla whitelist ~/.cache/mozilla/firefox whitelist ~/dwhelper whitelist ~/.zotero whitelist ~/.lastpass whitelist ~/.vimperatorrc whitelist ~/.vimperator whitelist ~/.pentadactylrc whitelist ~/.pentadactyl whitelist ~/.keysnail.js whitelist ~/.config/gnome-mplayer whitelist ~/.cache/gnome-mplayer/plugin include /etc/firejail/whitelist-common.inc # experimental features #private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse ```
gitea-mirror 2026-05-05 05:17:29 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Feb 8, 2016):

I'll look into it, thanks!

<!-- gh-comment-id:181375843 --> @netblue30 commented on GitHub (Feb 8, 2016): I'll look into it, thanks!
Author
Owner

@chiraag-nataraj commented on GitHub (Feb 27, 2016):

Video playback works just fine for me with this as my profile file.

include /etc/firejail/firefox.profile
whitelist /home/chiraag/.mozilla
whitelist /home/chiraag/Downloads/
whitelist /home/chiraag/.pulse/
whitelist /home/chiraag/.config/pulse/
whitelist /home/chiraag/.config/gtk-3.0/
whitelist /home/chiraag/.config/google-googletalkplugin/
whitelist /home/chiraag/.gtkrc-2.0
whitelist /home/chiraag/.gtkrc.mine
whitelist /home/chiraag/.Xauthority
private-etc hosts,passwd,mime.types,fonts/,mailcap,iceweasel/,xdg/,gtk-3.0/,resolv.conf,X11/,pulse/,asound.conf,adobe/,gcrypt/,alternatives/
shell none
seccomp

where /etc/firejail/firefox.profile is the default that is shipped.

The two main areas I see a difference are with your whitelist (I don't include whitelist-common) and that you enable an additional protocol (netlink). Neither of these should be affecting your video playback, however. Ah...maybe the problem is that you're not whitelisting ~/.pulse? If you're using PulseAudio, you have to do that (I've had issues with video playback if the audio subsystem isn't working).

<!-- gh-comment-id:189573306 --> @chiraag-nataraj commented on GitHub (Feb 27, 2016): Video playback works just fine for me with this as my profile file. ``` include /etc/firejail/firefox.profile whitelist /home/chiraag/.mozilla whitelist /home/chiraag/Downloads/ whitelist /home/chiraag/.pulse/ whitelist /home/chiraag/.config/pulse/ whitelist /home/chiraag/.config/gtk-3.0/ whitelist /home/chiraag/.config/google-googletalkplugin/ whitelist /home/chiraag/.gtkrc-2.0 whitelist /home/chiraag/.gtkrc.mine whitelist /home/chiraag/.Xauthority private-etc hosts,passwd,mime.types,fonts/,mailcap,iceweasel/,xdg/,gtk-3.0/,resolv.conf,X11/,pulse/,asound.conf,adobe/,gcrypt/,alternatives/ shell none seccomp ``` where `/etc/firejail/firefox.profile` is the default that is shipped. The two main areas I see a difference are with your whitelist (I don't include whitelist-common) and that you enable an additional protocol (netlink). Neither of these should be affecting your video playback, however. Ah...maybe the problem is that you're not whitelisting ~/.pulse? If you're using PulseAudio, you have to do that (I've had issues with video playback if the audio subsystem isn't working).
Author
Owner

@netblue30 commented on GitHub (Jun 1, 2016):

Try version 0.9.40, there have been lots of fixes. If you still see the problem, I'll reopen the bug.

<!-- gh-comment-id:223008023 --> @netblue30 commented on GitHub (Jun 1, 2016): Try version 0.9.40, there have been lots of fixes. If you still see the problem, I'll reopen the bug.
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#195
No description provided.