mysqld: [ERROR] Could not open required defaults file

Bug #1819940 reported by Andrey Bondarenko
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
akonadi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Following errors are reported on first start akonadi with mysql backend in Ubuntu 18.04.2 with akonadi-backend-mysql version 4:17.12.3-0ubuntu3. Directory ~/.local/share/akonadi must not exists before start:

mysqld: [ERROR] Could not open required defaults file: /etc/xdg/akonadi/mysql-global.conf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted

I don't see any problems after that.

Errors are not reported if I add following lines to /etc/apparmor.d/local/usr.sbin.mysqld-akonadi

  /etc/xdg/akonadi/mysql-global.conf r,
  /etc/xdg/akonadi/mysql-global-mobile.conf r,

Probably they should be added to /etc/apparmor.d/usr.sbin.mysqld-akonadi

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in akonadi (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.