Public bug reported:

Binary package hint: firefox

The apparmor profile for Firefox allows locking of
~/.mozilla/**/.parentlock with fcntl SETLK, which Firefox uses to
detect more than one instance of itself using the same profile.

However, I have old profiles stored in the old location ~/.firefox/**/,
and on upgrade from Hardy to Lucid, I find apparmor prevents Firefox
from locking my ~/.firefox/**/.parentlock file.  The symptom is a
popup saying 'Firefox cannot use the profile "xyz" because it is in use.'

(If you run "firefox -P some_profile", you'll get a popup saying
"Firefox is already running, [sic] but is not responding.")

Please add support for the old profile location, by adding these
rules:

--- etc/apparmor.d/usr.bin.firefox-dist-10.04   2010-07-23 03:06:34.000000000 
-0700
+++ etc/apparmor.d/usr.bin.firefox      2010-08-25 21:15:02.000000000 -0700
@@ -110,6 +110,15 @@
   owner @{HOME}/.mozilla/plugins/** rm,
   owner @{HOME}/.mozilla/**/plugins/** rm,
 
+  # Per-user configuration, for profiles originally created by old
+  # versions of Firefox.
+  owner @{HOME}/.firefox/ rw,
+  owner @{HOME}/.firefox/** rw,
+  owner @{HOME}/.firefox/**/*.sqlite* k,
+  owner @{HOME}/.firefox/**/.parentlock k,
+  owner @{HOME}/.firefox/plugins/** rm,
+  owner @{HOME}/.firefox/**/plugins/** rm,
+
   #
   # Extensions
   # /usr/share/.../extensions/... is already covered by '/usr/** r', above.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Firefox apparmor blocks old profile location
https://bugs.launchpad.net/bugs/624435
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to