Package: akonadi-server
Version: 1.13.0-2+deb8u2
Severity: important

Dear akonadi Maintainers,

Mysql-server-core-5.5 5.5.53-0+deb8u1 broke akonadi for root user: #843534.
Akonadi got updated, but now it expects /var/lib/mysql-files to be
present on the system:

ProcessControl: Application 'akonadiserver' returned with exit code
255 (Unknown error)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin",
"/usr/local/games", "/usr/games", "/usr/sbin", "/usr/local/sbin",
"/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec",
"/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
Found mysql_install_db:  "/usr/bin/mysql_install_db"
Found mysqlcheck:  "/usr/bin/mysqlcheck"
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/vagrant/.local/share/akonadi/mysql.conf",
"--datadir=/home/vagrant/.local/share/akonadi/db_data/",
"--socket=/tmp/akonadi-vagrant.9LSx7K/mysql.socket")
stdout: ""
stderr: "/usr/sbin/mysqld: Error on realpath() on
'/var/lib/mysql-files' (Error 2)
161116 10:36:33 [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
161116 10:36:33 [ERROR] Aborting

This directory is created in mysql-server-5.5's postinst script in
5.5.53-0+deb8u1.

I suggest fixing this issue in two steps:
1. Creating the directory in mysql-server-core-5.5's postinst in 5.5.53-0+deb8u2
2. Depending on mysql-server-core-5.5 (>= 5.5.53-0+deb8u2) in akonadi
1.13.0-2+deb8u3

If you agree with the suggested solution please clone the bug to
mysql-5.5 to let step 1. start.

Cheers,
Balint

PS: /var/lib/mysql-files is left on the system after mysqld-server-5.5
is removed which may be a problem to solve in the mysql fix.

Reply via email to