Clicking on "mailto:" URLs on Firefox doesn't start the mail application

Bug #662175 reported by Lorenzo
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
Undecided
Jamie Strandboge
Lucid
Fix Released
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned
Natty
Fix Released
Undecided
Jamie Strandboge

Bug Description

Binary package hint: firefox

In Firefox, when an user click on a webpage link pointing to a "mailto:" URL, the browser is supposed to launch a mail composing application (i.e. Thunderbird, Evolution).

On Ubuntu Lucid, I found that clicking on a link of such kind has no effect.

I think this is a problem related to the Firefox AppArmor profile (/ect/apparmor.d/usr.bin.firefox) shipping with the Firefox package (3.6.10+build1+nobinonly-0ubuntu0.10.04.1); in particular, I think I found a typo on the file
/etc/apparmor.d/abstractions/ubuntu-email, that get included in /ect/apparmor.d/usr.bin.firefox.

In fact the line:

/usr/lib/thunderbird/thunderbird Ux,

should read

/usr/lib/thunderbird-3.0.8/thunderbird Ux,

This modification solved the problem in my case.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: firefox 3.6.10+build1+nobinonly-0ubuntu0.10.04.1
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Oct 17 15:25:44 2010
FirefoxPackages:
 firefox 3.6.10+build1+nobinonly-0ubuntu0.10.04.1
 firefox-gnome-support 3.6.10+build1+nobinonly-0ubuntu0.10.04.1
 firefox-branding 3.6.10+build1+nobinonly-0ubuntu0.10.04.1
 abroswer N/A
 abrowser-branding N/A
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox

Revision history for this message
Lorenzo (gnufranc) wrote :
Revision history for this message
Joe Hurr (joehurr) wrote :

I'm afraid I do not have the skills to test the apparmor theory, but I'm using the Mozilla build of Thunderbird (3.1.6), Firefox 3.6.12 and Maverick, and I've been unable to get a mailto to work despite more time Googling than I can afford right now!

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

Thank you for reporting the bug and making Ubuntu better. Unfortunately the path keeps changing to the the thunderbird executable, which is why the apparmor profile is denying the error. This can be fixed in an AppArmor SRU.

affects: firefox (Ubuntu) → apparmor (Ubuntu)
Changed in apparmor (Ubuntu):
status: New → Triaged
Changed in apparmor (Ubuntu Lucid):
status: New → Triaged
Changed in apparmor (Ubuntu Maverick):
status: New → Triaged
Changed in apparmor (Ubuntu Natty):
assignee: nobody → Jamie Strandboge (jdstrand)
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This is actually already fixed in Lucid and Maverick with the AppArmor 2.5.1 SRU. When I looked at the denied path, I missed that. Eg, /etc/apparmor.d/abstractions/ubuntu-email should have:
  /usr/lib/thunderbird-3*/thunderbird{,.sh} PUx,

This should catch the /usr/lib/thunderbird-3.0.8/thunderbird denial. Sorry for the confusion.

Changed in apparmor (Ubuntu Lucid):
status: Triaged → Fix Released
Changed in apparmor (Ubuntu Maverick):
status: Triaged → Fix Released
Changed in apparmor (Ubuntu Natty):
status: Triaged → Fix Released
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.