[PATCH 2/2] Re: Temporarily delete old-style lock files

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Aug 15 09:04:27 BST 2011


On Sun, 14 Aug 2011 17:06:27 +0200, Nicolas Sebrecht <nicolas.s-dev at laposte.net> wrote:
> The question is: what would happen if a user has/wants two versions of
> offlineimap installed (think about cron + interactive) and he launches
> an instance for both versions?

New versions would happily overlap running with the old version and but
would probably fail to delete the lock file of the old version while it
keeps it open. But we have that problem anyway, even without this
patch. Newer versions would always run at the same time as old
versions. We could improve our compatability for testing if we can
delete an old-style lock file when we try to get a lock in the new
system.

Would that be worth the trouble? If yes, I can whip up the patch.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110815/88826ebe/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list