akonadi fails to start after upgrade to yakkety
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
akonadi (Ubuntu) |
Fix Released
|
High
|
Unassigned | |||
Precise |
Fix Released
|
Undecided
|
Marc Deslauriers | |||
Trusty |
Fix Released
|
Undecided
|
Marc Deslauriers | |||
Yakkety |
Won't Fix
|
Undecided
|
Unassigned | |||
Zesty |
Won't Fix
|
High
|
Unassigned | |||
mysql-5.5 (Ubuntu) | ||||||
Precise |
Won't Fix
|
Undecided
|
Unassigned | |||
Trusty |
Confirmed
|
Undecided
|
Unassigned | |||
Yakkety |
Won't Fix
|
Undecided
|
Unassigned | |||
Zesty |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
After yesterday 15 sept. upgrade to Kubuntu 16.10 Yakkety Yak, kmail fails to start, because akonadi backend fails.
Starting akonadi from command line,
$ akonadictl start
the output contains:
stderr: "mysqld: Error on realpath() on '/var/lib/
The cause is a regression in the file
/etc/
provided by the package
akonadi-
Diff of the content of mysql-global.conf from Yakkety vs Xenial:
<code>
diff -u "akonadi-
--- "akonadi-
+++ "akonadi-
@@ -100,5 +100,14 @@
# We use InnoDB, so don't let MyISAM eat up memory
key_buffer_
+# KUBUNTU:
+# Unset the export dir check as only the full mysql-server package creates it
+secure_file_priv=
+
+# KUBUNTU:
+# workaround for 5.7 being more strict with column types
+# (reverts to 5.6 behavior)
+sql_mode=
+
[client]
default-
</code>
Applying this patch fixes the bug.
The "secure_file_priv" setting went missing is referenced in the package changelog:
akonadi (4:15.12.
* kubuntu_
- Set secure_file_priv to empty as that directory is not set in a default
kubuntu install
-- Philip Muškovac <email address hidden> Mon, 18 Apr 2016 15:24:43 +0200
Marco Gamberoni
no longer affects: | mysql-5.5 (Ubuntu) |
tags: | removed: regression-update |
Status changed to 'Confirmed' because the bug affects multiple users.