Control: tag -1 - patch
Control: reassign -1 mysql-server-core-5.5 5.5.53-0+deb8u1

¡Hola fld!

El 2016-11-07 a las 13:42 +0200, fld escribió:
Package: akonadi-server Version: 1.13.0-2+deb8u1 Severity: important Tags: patch

--- Please enter the report below this line. --- After this apt upgrade:
Upgrade: mysql-server-core-5.5:amd64 (5.5.52-0+deb8u1, 5.5.53-0+deb8u1), 
mysql-common:amd64 (5.5.52-0+deb8u1, 5.5.53-0+deb8u1), libmysqlclient18:amd64 
(5.5.52-0+deb8u1, 5.5.53-0+deb8u1)

I rebooted and noticed that Akonadi was unable to start.

akonadiserver.error:
Database process exited unexpectedly during initial connection! executable: "/usr/sbin/mysqld" arguments: ("--defaults-file=/home/fld/.local/share/akonadi/mysql.conf", "--datadir=/home/fld/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-fld.T7GgAn/mysql.socket") stdout: "" stderr: "/usr/sbin/mysqld: Error on realpath() on '/var/lib/mysql-files' (Error 2) 161107 13:16:09 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is accessible by MySQL Server. Supplied value : /var/lib/mysql-files 161107 13:16:09 [ERROR] Aborting

This is a bug in the backports version of mysql. A backports version shouldn't break applications in stable. I'll reassign the issue to the mysql packages.

I was able to fix it by adding "secure_file_priv=" to 
~/.local/share/akonadi/mysql.conf

Sorry, but that's not something we can apply as a patch. It's a workaround that you can apply as a user, sure. But it doesn't really help us to fix the issue caused by the mysql upgrade.

Even if we manage to tweak the arguments from the code of the mysql backend this wouldn't work with the previous versions of mysql (afaik).

This should, ideally, be handled by the mysql code that checks the
--secure-file-priv value.

Happy hacking,
--
"There are two ways of constructing a software design.  One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies."
-- C.A.R. Hoare
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature

Reply via email to