[Akonadi] [Bug 425606] Akonadi server fails with MariaDB 10.5.5

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Aug 26 21:38:21 BST 2020


https://bugs.kde.org/show_bug.cgi?id=425606

taeyeon at oro.sodimm.me changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |taeyeon at oro.sodimm.me

--- Comment #1 from taeyeon at oro.sodimm.me ---
I am not entirely sure whether this is the same issue, but the
usr.bin.akonadiserver (as well as mysqld_akonadi) AppArmor profile is broken
with MariaDB 10.5.x.

Apparently, 10.5.x renamed all paths and executables to be mariadb-branded
while the mysql versions are now symlinks (I believe the inverse was true up to
10.4.x); which messes up the Akonadi AA profiles pretty thoroughly, since AA
works with paths and seems to (sensibly) always follow links for permission
checks.

Relevant MariaDB (server) PR: https://github.com/MariaDB/server/pull/1544

This would (at least in my case) result in EACCES when trying to start the
database server:
org.kde.pim.akonadiserver: process error: "execvp: Permission denied"

This can be worked around by disabling AA for akonadi (sudo aa-disable
/usr/bin/akonadiserver).

This is on Arch Linux with Applications 20.08.0-1, Frameworks 5.73.0-1, Qt
5.15.0-4 and MariaDB 10.5.5-2.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list