Hello, Am Samstag, 18. November 2017, 02:48:30 CET schrieb Ben Caradoc-Davies: > # aa-complain thunderbird > Setting /usr/bin/thunderbird to complain mode. > > ERROR: /etc/apparmor.d/usr.bin.thunderbird contains no profile
That means it fails in the get_profile_flags() function in aa.py (the
only place where this error message is used).
I just tried myself (by fetching the profile from packages.debian.org
and testing it on my openSUSE system ;-) but get a different error
message (yes, there are known issues with named profiles) so your
profile probably differs from what I found.
Can you please send (to me or the bugreport) your
/etc/apparmor.d/usr.bin.thunderbird profile so that I have the correct
profile to test?
As a workaround, you can use
aa-complain /etc/apparmor.d/usr.bin.thunderbird
Another workaround is to create a symlink in
/etc/apparmor.d/force-complain
> aa-complain only works if profile is named precisely for executable
> https://bugs.launchpad.net/apparmor/+bug/1128468
That's an old bug that was fixed long ago. It's unrelated, even if it
looks somewhat similar ;-)
Regards,
Christian Boltz
--
Microsoft is a cross between The Borg and the Ferengi. Unfortunately
they use Borg to do their marketing and Ferengi to do their programming.
[Simon Slavin in the SDM]
signature.asc
Description: This is a digitally signed message part.

