From kde-pim Mon Jul 30 19:23:23 2007 From: Tobias Koenig Date: Mon, 30 Jul 2007 19:23:23 +0000 To: kde-pim Subject: Re: [Kde-pim] Question on Akonadi data connection Message-Id: <20070730192323.GA8496 () ghostdog ! localnet> X-MARC-Message: https://marc.info/?l=kde-pim&m=118582329613960 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1259593419==" --===============1259593419== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 30, 2007 at 09:01:23PM +0200, Kevin Krammer wrote: > Hi Tobias, Hi Kevin, > > > 2) The socket address should rather be an abtract unix socket, e.g. l= ike > > > D-Bus Currently, if the akonadiserver crashed, it leaves the socket > > > around and cannot listen on it anymore > > > > We just have to unlink the unix socket file on a restart of akonadi. > > That's a know issue with unix domain sockets. >=20 > The current hardcoded socket path is a problem (besides being hardcoded) = if=20 > the file system hosting $HOME is not capable of having sockets. >=20 > In a KDE application we would use KStandardDirs to locate a suitable sock= et=20 > directory, abstract Unix sockets avoid this problem alltogether. Ahh, you mean KLocalSocket::AbstractUnixSocket with abstract unix sockets :) Well, using them makes sense indeed :) > I am not sure how far the D-Bus Windows people have come sofar since they= have=20 > the same issue. > I though that maybe using the same address format as D-Bus might give us= =20 > better flexibility in the long term.=20 Yepp Ciao, Tobias --=20 Separate politics from religion and economy! The Council of the European Union is an undemocratic and illegal institutio= n! --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGrjqrSvFUKpY6VLARAgOmAJ9+X9pjWSyt54O3rvRYNXG6+UqBxQCgkzU9 KBpXOTzmr1uN3NDTzJTUizE= =0+Xt -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- --===============1259593419== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KDE PIM mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim KDE PIM home page at http://pim.kde.org/ --===============1259593419==--