Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790398 - www-client/firefox-bin Widevine plugin does not work if kernel lacks CONFIG_SECCOMP
Summary: www-client/firefox-bin Widevine plugin does not work if kernel lacks CONFIG_S...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-15 16:02 UTC by Charo del Genio
Modified: 2021-07-12 23:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charo del Genio 2021-05-15 16:02:48 UTC
If kernel is compiled with CONFIG_SECCOMP=n, the Widevine plugin that is automatically installed with firefox-bin fails to provide a CDM licence when trying to play content protected by DRM.

Recompiling the kernel with CONFIG_SECCOMP=y fixes the problem.

Maybe the ebuild could check for the option and issue a warning it SECCOMP is disabled.
Comment 1 Ionen Wolkens gentoo-dev 2021-05-15 16:45:44 UTC
I recall helping a user with that issue ~2 years ago but I didn't think to report it, I guess it's still happening (should apply to non-bin as well). It was kind of hard to figure out without a check.
Comment 2 Larry the Git Cow gentoo-dev 2021-07-12 23:32:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b020d4974728afe189d4f03d65fb97609b47ddb5

commit b020d4974728afe189d4f03d65fb97609b47ddb5
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-07-12 23:27:21 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-07-12 23:31:54 +0000

    www-client/firefox-bin: check for SECCOMP support in kernel
    
    Closes: https://bugs.gentoo.org/790398
    Package-Manager: Portage-3.0.21, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox-bin/firefox-bin-78.12.0.ebuild | 9 ++++++++-
 www-client/firefox-bin/firefox-bin-90.0.ebuild    | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3b0f3b569543a5d356973cb3fcea0ca280e5e7

commit 8a3b0f3b569543a5d356973cb3fcea0ca280e5e7
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-07-12 23:16:00 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-07-12 23:31:52 +0000

    www-client/firefox: check for SECCOMP support in kernel
    
    Bug: https://bugs.gentoo.org/790398
    Package-Manager: Portage-3.0.21, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/firefox-78.12.0.ebuild | 8 ++++++--
 www-client/firefox/firefox-90.0.ebuild    | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)