mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4882] firefox: cannot play Netflix/widevine with VPN on #2797
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#2797
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 @bhepple on GitHub (Jan 27, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4882
Description
I have a VPN running which interferes with running Netflix in firefox so I want to use firejail to side-step the VPN but have other programs running under the VPN. I can run Netflix in firefox as normal without the VPN in operation.
Steps to Reproduce
... the home page loads but when I play a movie, I always get Netflix error code F7702-1003 ie it refuses to play (widevine problem? I sometimes get a "widevine crashed" message)
I tried implementing https://github.com/netblue30/firejail/issues/799 (commenting out caps.drop etc in firefox-common.profile). Running the same command, I get the same result.
I've also tried this with the same result:
From https://github.com/netblue30/firejail/issues/3681, I tried this in /etc/firejail/firejail.config:
But I get the same result
Expected behavior
Play movies
Actual behavior
Widevine crashes; movies don't play; Netflix error code F7702-1003
Simple sites such as http://www.bom.gov.au/products/IDR662.loop.shtml work fine.
Behavior without a profile
Same
Additional context
Environment
fedora f34
Linux achar 5.15.14-100.fc34.x86_64 #1 SMP Tue Jan 11 16:53:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
firejail version 0.9.64.4
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
firejail --name=NOVPN --net=wlp3s0 --defaultgw=192.168.0.1 firefox --no-remote -P netflix https://www.netflix.com/auEDIT by @rusty-snake: Fixed markdown checklist formatting; Fixed details tag.
@smitsohu commented on GitHub (Jan 27, 2022):
Open two terminals and in one run
sudo journalctl -f -g seccomp, then in the other start Firefox with Firejail option--seccomp-error-action=logadded. Does that work? If it does, what messages are printed to the journal?Something else worth trying could be to run Firejail with
--ignore=whitelistand/or--ignore=blacklist(only to debug this issue, the resulting sandbox will be very weak).@smitsohu commented on GitHub (Jan 27, 2022):
I should read more carefully. You already tried
firejail --ignore='noexec ${HOME}' --noprofile --name=NOVPN --net=wlp3s0 --defaultgw=192.168.0.1 firefox --no-remote -P netflix https://www.netflix.com/auIt is broken despite
--noprofile, so you should disregard my comment above. Seems that widevine indeed doesn't like something about the network setup.@bhepple commented on GitHub (Jan 28, 2022):
Nothing exotic in my network config - it's just a simple laptop on a wireless connection, running nordvpn:
@leukimi commented on GitHub (Aug 7, 2024):
Same kind of "issue" on openSUSE Tumbleweed with firejail v0.9.72.
The solution is:
sudo sed -i 's/# browser-allow-drm no/browser-allow-drm yes/g' /etc/firejail/firejail.configIf you prefer a patch for more clarity:
Maybe it would help if someone could explain why this option is disabled by default and why it is not possible to add the option locally in
$HOME/.config/firejail/firefox.localwithout messing with system files belonging to a package.@rusty-snake commented on GitHub (Aug 7, 2024):
Moved to #6434