[Akonadi] [Bug 409736] After upgrade to Applications 19.04.3: Akonadi can't connect to local MySQL server any more
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Fri Jul 12 15:44:58 BST 2019
https://bugs.kde.org/show_bug.cgi?id=409736
--- Comment #7 from fknghostile at gmail.com ---
(In reply to Stefan Galinski from comment #4)
> I solved the problem. It'a an AppArmor issue.
>
> You need to edit your AppArmor configuration.
>
> vim /etc/apparmor.d/usr.sbin.mysqld-akonadi
>
> The content looks like this from the beginning. I only added a lot's of
> stuff at the top.
>
> ```
> # vim:syntax=apparmor
>
> #include <tunables/global>
>
> /usr/sbin/mysqld-akonadi {
> #include <abstractions/base>
> /usr/sbin/mysqld-akonadi r,
> /usr/sbin/mysqld cx,
>
> profile /usr/sbin/mysqld {
> /run/user/1000/akonadi/default/mysql.pid rwmk,
> /run/user/1000/akonadi/default/mysql.socket rwmk,
> /run/user/1000/akonadi/default/mysql.socket.lock rwmk,
> /sys/devices/system/node/* r,
> /sys/devices/system/node/ r,
> /etc/mysql/* r,
> /etc/mysql/mysql.conf.d/ r,
> /etc/mysql/mysql.conf.d/* r,
> /sys/devices/system/node/node0/meminfo r,
> [more lines]
> ```
>
> Afterwards reload the apparmor configuration for the file.
>
> apparmor_parser -r /etc/apparmor.d/usr.sbin.mysqld-akonadi
>
> You can restart Akonadi via the Akonadi console or a system restart now.
>
> At least it worked for me and I'm fine again. :-)
I don't have any "usr.sbin.mysqld-akonadi" in my KDE Neon.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list