-
Summary: This fixes Akonadi on Arch Linux (and possibly others). Changes to the AppArmor profiles: - Allow writing and locking `/run/user/${uid}/akonadi`, the database engine socket is stored there. - Add `abstractions/consoles`, needed for console output. PostgreSql specific: - Add bash (it is a common default shell). - Support `/usr/bin/*` paths for PostgreSQL binaries. - Support `pg_upgrade`. MySQL specific: - Add bash (it is a common default shell). - Add `/usr/bin/mysqld` as a path for the MySQL daemon binary. - Add `abstractions/openssl`. When using MySQL, both `akonadiserver` and `mysqld` will try to read `/etc/ssl/openssl.cnf`. - Add `/etc/my.cnf` and `/etc/my.cnf.d/`, on Arch Linux the `my.cnf` configuration is stored there. Test Plan: `akonadictl start` on a system with active AppArmor and loaded profiles. Reviewers: #kde_pim, knauss Reviewed By: #kde_pim, knauss Subscribers: arojas, dvratil, knauss, jriddell, kde-pim, #kde_pim Tags: #kde_pim Differential Revision: https://phabricator.kde.org/D25964
9c33b1b4