Apparmor profile prevents flashgot from finding download managers

Bug #561564 reported by Jan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: firefox

FlashGot cannot find any download manager when the firefox apparmor profile is active. This happens with FlashGot being installed from addons.mozilla.org or with the package xul-ext-flashgot. Disabling or removing the profile makes FlashGot usable again.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: firefox 3.6.3+nobinonly-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-20.29-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic i686
Architecture: i386
Date: Mon Apr 12 17:05:09 2010
FirefoxPackages:
 firefox 3.6.3+nobinonly-0ubuntu2
 firefox-gnome-support N/A
 firefox-branding 3.6.3+nobinonly-0ubuntu2
 abroswer N/A
 abrowser-branding N/A
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox

Revision history for this message
Jan (medhefgo) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

It looks like this is the offending line:
Apr 12 16:36:05 Brinja kernel: [ 6582.958977] type=1503 audit(1271082965.984:37): operation="exec" pid=4435 parent=4292 profile="/usr/lib/firefox-3.6.3/firefox-*bin" requested_mask="x::" denied_mask="x::" fsuid=1000 ouid=1000 name="/tmp/flashgot.c53oxpfx.default/flashgot-1.fgt"

Flashgot seems to want to create a temporary file and execute. This is not something that will be added to the profile. If you must use flashgot, you can do:
  owner /tmp/flashgot.*/*.fgt Ux,

But this is giving the flashgot upstream complete trust. Better would be to develop an AppArmor profile for flashgot or using:
  owner /tmp/flashgot.*/*.fgt ix,

Changed in firefox (Ubuntu):
status: New → Won't Fix
tags: added: apparmor
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.