WebRTC webcam support broken in firefox due to apparmor

Bug #1665535 reported by Jay Hennessey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
Fix Released
Undecided
Unassigned
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In order to use sites that make use of WebRTC's webcam support, firefox needs access to the /dev/videoN device. When I applied the latest firefox update over the last week, apparmor was set to enforcing mode, which broke sites that use WebRTC, like https://talky.io.

$ lsb_release -rd
Description: Ubuntu 16.10
Release: 16.10
$ apt-cache policy firefox
firefox:
  Installed: 51.0.1+build2-0ubuntu0.16.10.2
  Candidate: 51.0.1+build2-0ubuntu0.16.10.2
  Version table:
 *** 51.0.1+build2-0ubuntu0.16.10.2 500
        500 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu yakkety-security/main amd64 Packages
        100 /var/lib/dpkg/status
     49.0+build4-0ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages

Related branches

Jay Hennessey (henn)
affects: apparmor (Ubuntu) → firefox (Ubuntu)
Revision history for this message
Jay Hennessey (henn) wrote :

This patch has been awaiting review from AppArmor Developers for a while now.

Any suggestions on how to move it along?

Thanks.

Revision history for this message
Christian Boltz (cboltz) wrote :

Merged into AppArmor bzr.

Changed in apparmor:
status: New → Fix Committed
milestone: none → 2.12
Revision history for this message
Christian Boltz (cboltz) wrote :

The milestone is not 100% correct - the fix is included in 2.11.95 aka 2.12 beta1.

Changed in apparmor:
status: Fix Committed → Fix Released
Revision history for this message
Daniel Richard G. (skunk) wrote :

/etc/apparmor.d/abstractions/ubuntu-browsers.d/multimedia in Ubuntu 18.04/bionic contains the fix.

Marking the Firefox bug as Invalid, since the issue was fixed by updating the AppArmor abstraction. (I.e. no change to the firefox package was/is needed.)

Changed in firefox (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.