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

Bug#624647: pu: package akonadi/1.3.1-3+squeeze1



tag 624647 + squeeze moreinfo
thanks

On Sat, 2011-04-30 at 13:17 +0300, Modestas Vainius wrote:
> Please consider accepting the patch fixing #545139 [1] to squeeze (full debdiff
> is below). It can be considered as regression from lenny (KDE 3) since kmail
> used to work fine when HOME was mounted to the network filesystem. Since KDE SC
> 4.4, akonadi-server is essential daemon for kmail (and other KDE Personal
> Information Management applications) to work.
> 
> The patch addresses the issue that sockets cannot be created on the network
> filesystems. akonadi before this patch is only capable of creating a socket in
> the subdirectory of HOME. With this patch applied, it will safely create the
> socket in /tmp if it can't do this directly in HOME.

Apologies for the delay in getting back to you.  I did have one quick
query on the diff, as I couldn't immediately see how the below hunk
relates to the socket location:

+--- akonadi-1.3.1.orig/server/src/storage/dbconfig.cpp
++++ akonadi-1.3.1/server/src/storage/dbconfig.cpp
[...]
+@@ -142,7 +143,7 @@
+ 
+       // verify settings and apply permanent changes (written out below)
+       if ( mDriverName == QLatin1String( "QMYSQL" ) ) {
+-        if ( mInternalServer && mConnectionOptions.isEmpty() )
++        if ( mInternalServer /* && mConnectionOptions.isEmpty() */ )
+           mConnectionOptions = defaultOptions;
+         if ( mInternalServer && (mServerPath.isEmpty() || !QFile::exists(mServerPath) ) )
+           mServerPath = defaultServerPath;

Regards,

Adam




Reply to: