[Bug 1698632] [NEW] Kubuntu 17.04, akonadi-backend-mysql provides incomplete AppArmor profile preventing productive usage of akonadi
Bernd Strieder
1698632 at bugs.launchpad.net
Sun Jun 18 09:35:47 UTC 2017
Public bug reported:
In Kubunutu 17.04 and also latest Kubuntu staging packages, in a fresh
home directory akonadi fails to be started, very quickly with mysterious
error messages in ./.local/share/akonadi/akonadiserver.error.old:
Database process exited unexpectedly during initial
connection!executable: "/usr/sbin/mysqld-akonadi"arguments:
("--defaults-file=/pool1/home/bernd/.local/share/akonadi/mysql.conf", "
--datadir=/pool1/home/bernd/.local/share/akonadi/db_data/", "--
socket=/tmp/akonadi-bernd.bZGZo6/mysql.socket")stdout: ""stderr:
"mysqld: [ERROR] Could not open required defaults file:
/pool1/home/bernd/.local/share/akonadi/mysql.conf\nmysqld: [ERROR] Fatal
error in defaults handling. Program aborted!\n"exit code: 1process
error: "Unknown error"Failed to remove runtime connection config file
Running this command in strace one can observe that read access to
/proc/self/status is rejected short before the failure, only googling
this finally suggested AppArmor might be invovled.
This can be fixed by putting the relevant AppArmor profile to complain
mode:
sudo aa-complain usr.sbin.mysqld-akonadi
But that is not a proper fix for the issue, the profile should be fixed
to save John Doe user to have to deal with AppArmor.
** Affects: kubuntu-ppa
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to Kubuntu PPA.
https://bugs.launchpad.net/bugs/1698632
Title:
Kubuntu 17.04, akonadi-backend-mysql provides incomplete AppArmor
profile preventing productive usage of akonadi
To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-ppa/+bug/1698632/+subscriptions
More information about the kubuntu-bugs
mailing list