Bug 178916

Summary: akonadiserver Doesn't Exit on Logout
Product: [Frameworks and Libraries] Akonadi Reporter: Garry Williams <gtwilliams>
Component: serverAssignee: Volker Krause <vkrause>
Status: RESOLVED FIXED    
Severity: normal CC: vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Garry Williams 2008-12-27 20:24:37 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

After logging out of KDE desktop, the akonadiserver process remains.  This results in multiple "leaked" copies of akonadiserver, mysqld, and akonadi_control running in subsequent sessions.

I am running the current KDE 4.2 beta installed from the kde-testing fedora repository.

My work-around was to add

#!/bin/sh
akonadictl stop

to ~/.kde/shutdown/
.
Comment 1 Volker Krause 2008-12-29 21:05:40 UTC
SVN commit 903051 by vkrause:

- shut down when we lost the connection to the D-Bus session bus (which
  likely means the session was closed, but as a non-gui application we
  have no way of knowing that).
- add some basic handling of command line args, at least 'akonadiserver
  --help' does no longer accidentally start a partial Akonadi server.
- add a --version command line option which will be useful for the
  self-tests

BUG: 178916


 M  +1 -1      CMakeLists.txt  
 M  +6 -1      config-akonadi.h.cmake  
 M  +2 -0      server/CMakeLists.txt  
 M  +1 -1      server/control/CMakeLists.txt  
 M  +4 -5      server/control/main.cpp  
 A             server/shared/akapplication.cpp   [License: LGPL (v2+)]
 A             server/shared/akapplication.h   [License: LGPL (v2+)]
 M  +4 -4      server/src/main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=903051