AppArmor Fun with Firefox 4 Daily Builds

So, here’s a problem I’m sure millions of computer users have.

The latest nightly Firefox builds from the Ubuntu Mozilla Daily Build PPA suddenly stopped working for me; every time I started with my usual profile (in my Encrypted Private Directory), it complained that Firefox was already running (it wasn’t). Running with a profile in my unencrypted home directory, in the usual place, seemed to work. For a while I though the profile was hosed, or the new Firefox build had a problem with the encryption.

Turns out the AppArmor profile has been updated to confine write access to the only default Firefox profile location ( ~/.mozilla/firefox-4.0 in this case), and a few other select directories (like the default downloads directory). Since my profile was outside that directory, AppArmor was preventing Firefox from writing to the profile. Updating the AppArmor profile (by editing /etc/apparmor.d/local/usr.bin.firefox-4.0) with the following fixed the problem.

owner @{HOME}/Profiles/** rwk,

Just in case someone else out there runs into a similar problem. There might be somebody.

 

Advertisements

1 comment so far

  1. vasquezfranklin176 on

    Hi there,Thank you for posting all this great stuff. I have your page bookmarked and refer to it all the time. I use Tomcat and I can’t find the hsqld Click https://zhoutest.wordpress.com/


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: