Comment 5 for bug 271643

Revision history for this message
Steve Beattie (sbeattie) wrote :

This error is because the mysql-akonadi profile contains both a definition for the @{HOME} variable directly and the inclusion of tunables/global, which in turn includes tunables/home where @{HOME} is also defined. Once defined in apparmor policy, a variable cannot be redefined, though it can be extended e.g. "@{HOME} += /some/other/path/" is valid. Given that both definitions are the same, the mysql-akonadi profile just honor the setting defined in tunables/home since a system administrator would edit that location first if they were to use alternate locations for home directories.

Attached is a debdiff that fixes the issue.