[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#882833: (no subject)



I've also had issues with kontact and my .xsession-errors contained the following lines:

 

org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=$HOME/.local/share/akonadi/mysql.conf", "--datadir=$HOME/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-$USER.lb4C57/mysql.socket", "--pid-file=/tmp/akonadi-$USER.lb4C57/mysql.pid")
org.kde.pim.akonadiserver: stdout

org.kde.pim.akonadiserver: stderr: "mysqld: [ERROR] Could not open required defaults file: $HOME/.local/share/akonadi/mysql.conf\nmysqld: [ERROR] Fatal error in defaults hand

 

Where $HOME and $USER are substitution of my own to mask my home directory and username.

 

I've noticed some DENIED lines in dmesg that seem related:

 

audit: type=1400 audit(1515103889.923:49): apparmor="DENIED" operation="open" profile="" name="$HOME/.local/share/akonadi/mysql.conf" pid=2655 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=1000

 

== Successful attempt ==

Trying to launch the mysqld command mentioned in .xsession-errors but using mysqld-akonadi instead (which seems to have special treatment for $HOME/.local/share/akonadi) and relaunching akonadi and then kontact seems to have worked (am writing this from that very kontact process).

 

Best regards,

 

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: