Where is the thunderbird apparmor profile

Asked by JörgenP

There is an apparmor profile for thunderbird in the apparmor-profiles git (https://git.launchpad.net/apparmor-profiles/) but I can not find it in any package, no hits for any of:
apt-file list apparmor-profiles | grep -i thunder
apt-file list apparmor-profiles-extra | grep -i thunder
apt-file list apparmor | grep -i thunder
apt-file find /etc/apparmor.d/usr.bin.thunderbird

and I confirmed the path for Thunderbird to be /usr/bin/thunderbird

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apparmor Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#2

https://support.mozilla.org/en-US/kb/profiles-where-thunderbird-stores-user-data
It is located in a hidden folder. ./thunderbird -profilemanager or
Profile folder in ~/.mozilla-thunderbird<Profile name>. These are hidden folders.

Revision history for this message
Bernard Stafford (bernard010) said :
#3

apparmor profile is derived from firefox profile. It is wrote as abstractions
https://git.launchpad.net/apparmor-profiles/tree/ubuntu/20.04/usr.bin.thunderbird
https://git.launchpad.net/apparmor-profiles/tree/ubuntu/20.04
Look in abstractions and ./usr.bin.thunderbird and usr.bin.evolution (email server)

Revision history for this message
JörgenP (jorgenp) said :
#4

Thank you for trying to help. Yes, I did find the file in git. The problem is that I can not find any package in Ubuntu that actually puts that file on my system. I can of course just pull it from git and adapt it if needed but I would prefer installing it from the repos like most other profiles.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#5

Please see the README of the git repository https://git.launchpad.net/apparmor-profiles/tree/README

------------
Introduction
------------
This repository contains AppArmor profiles that are currently in
development. Once a profile reaches maturity, it gets removed from this
repository and moved into a distribution's official packaging.

Revision history for this message
JörgenP (jorgenp) said :
#6

Given that the name of the Ubuntu package and the repo is the same and that the package description says it contains experimental profiles I would expect it to be based on that repo and contain its profiles, is this not the case? Confusing name conflict then but that does answer my question, thanks.

Package: apparmor-profiles
Description: experimental profiles for AppArmor security policies
 apparmor-profiles provides various experimental AppArmor profiles.
 Do not expect these profiles to work out-of-the-box.

Revision history for this message
JörgenP (jorgenp) said :
#7

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Don't confuse the git repository for the project apparmor-profiles https://launchpad.net/apparmor-profiles and the binary package apparmor-profiles in Ubuntu, belonging to the apparmor source package https://launchpad.net/ubuntu/+source/apparmor and to the apparmor project https://launchpad.net/apparmor
They are not directly related to each other.