Comment 1 for bug 1271599

Revision history for this message
Philip Muškovac (yofel) wrote :

apparmor:
we ship an apparmor profile because the mysql system profile doesn't permit accessing ~/.local/share/akonadi, which we need. But because you can't (couldn't?) just extend a profile, we're shipping a wrapper script which uses our profile.

mysql deps:
here it gets complicated...
The hard-depend on akonadi-backend-mysql is there because we had cases in the past where issues with mysql would result in the backend getting switched out with another one (usually sqlite) by apt. As akonadi doesn't actually support that though without manual reconfiguring, it just tells uses that their mysql backend is broken, which isn't helpful at all. The workaround is a fixed dep on a-b-m so that never gets removed, which is bad but does the job...

The fixed versioned deps on explicit versions of mysql where there to prevent bogus downgrades to unsuppored mysql versions I think (at least that's the only reason I could think of, as that's indeed not documented). We should depend on virtual-mysql-server-core and virtual-mysql-client-core instead. That has the downside of again allowing incompatible DB software migrations by apt (e.g. mariadb -> mysql) but that's already the case with our alternate dep on mariadb. Would fix #1336005 at least