usr.bin.firefox apparmor profile blocks access to UPower

Bug #1553762 reported by Jean-Philippe Guérard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I launch Firefox with apparmor enabled, I get the following error:

Mar 6 17:30:59 tigreraye kernel: [13763.668517] audit: type=1107 audit(1457281859.573:91): pid=1073 uid=102 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/UPower" interface="org.freedesktop.UPower" member="EnumerateDevices" mask="send" name="org.freedesktop.UPower" pid=4480 label="/usr/lib/firefox/firefox{,*[^s][^h]}" peer_pid=4196 peer_label="unconfined"

Adding the following line to the apparmor profile fixes the issue:

dbus send bus=system path="/org/freedesktop/UPower" interface="org.freedesktop.UPower" member="EnumerateDevices",

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.