[Bug 256527] New: Akonadi crashes on startup if .local is not readable
    João Eiras  
    joao.eiras at gmail.com
       
    Wed Nov 10 16:23:58 GMT 2010
    
    
  
https://bugs.kde.org/show_bug.cgi?id=256527
           Summary: Akonadi crashes on startup if .local is not readable
           Product: Akonadi
           Version: 1.4.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: joao.eiras at gmail.com
Version:           1.4.0 (using KDE 4.5.1) 
OS:                Linux
If the ~/.local folder is not readable by the mysqld process that akonadi uses,
akonadi crashes during startup.
Reproducible: Always
Steps to Reproduce:
I have setup my home folder not to be readable by others "chmod -R o-rwx ." (a
sane safety measure).
This had the side effect that akonadi then started failing.
Quickly diagnosing the problem revealed the following error when starting
mysqld:
# Test 5:  ERROR
# MySQL server log contains errors.
# InnoDB: Unable to lock ./ib_logfile0, error: 11
ib_logfile0 is located in ~/.local/share/akonadi/db_data/ hence it was not
readable by the mysqld process.
Expected Results:  
Akonadi should use logfiles in /tmp by default, or as fallback if the file
inside the home folder is not accessible, but more important, should not crash
that easily.
Bug 238217 is related (also log file handling)
-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
    
    
More information about the Kdepim-bugs
mailing list