AppArmor Info

From Michael's Information Zone
Jump to navigation Jump to search

<reference>https://answers.launchpad.net/pipelight/+question/251075#yui_3_10_3_1_1418479596890_263</reference>

Michael Müller (mqchael) said on 2014-07-13: 	#10

Hi,

seems like you have AppArmor enabled and that the profile for Firefox is set to enforce mode. Take a look at your dmesg output and check whether you see messages like:

[525586.927659] type=1400 audit(1382094229.271:58): apparmor="DENIED" operation="exec" parent=9596 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" name="/usr/share/pipelight/install-dependency" pid=9634 comm="firefox" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0

The AppArmor profile for Firefox is not compatible with Pipelight. The easiest solution would be to set the mode to complain instead of enforce. You can use the following commands to accomplish this:

# install AppArmor utilities
sudo apt-get install apparmor-utils

# set Firefox profile to complain mode
sudo aa-complain usr.bin.firefox