D29030: AppArmor DBus rules for AkonadiServer

Sandro Knauß noreply at phabricator.kde.org
Thu Apr 23 03:39:26 BST 2020


knauss added a comment.


  Wait you add mysql stuff to the akonadiserver, that is totally wrong! The problem is that the mysql-akonadi script is not triggering the correct profile. The workaround with mysql-akonadi script was added because mysql start shipping AppArmor and Kubuntu/Debian mainatiners at that time created this script to make sure to workaround the AppArmor of mysql. Because this was triggering issues for Debian unstable I set down and started to do a proper AppArmor profile for Akonadi and there I learnt, that the mysql-akonadi script is not needed at all.
  
  So please add `/user/bin/mysql-akonadi PUx -> mysqld_akonadi,`  to your profile to make sure, that this ends up in the correct AppArmor space and than reevaluate the needed changes.
  
  And I strongly recommend to get rid of this script too.
  
  see:
  https://bugs.kde.org/show_bug.cgi?id=399346#c13
  https://salsa.debian.org/qt-kde-team/kde/akonadi/-/commit/f8096655237e9b716d51c36213ecaae79b8108de
  https://salsa.debian.org/qt-kde-team/kde/akonadi/-/commit/dfd61ab8158a6938a707bebab00650e518411921

INLINE COMMENTS

> lukaskaras wrote in usr.bin.akonadiserver:44
> ok, changing to whole subtree:
> 
>   /usr/share/mysql/** r,

Ah wait, this is completly wrong here. Mysql stuff is only inside apparmor/mysqld_akonadi.

REVISION DETAIL
  https://phabricator.kde.org/D29030

To: lukaskaras
Cc: dvratil, knauss, kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200423/c03f0caa/attachment.html>


More information about the kde-pim mailing list