Your message dated Thu, 16 Jul 2009 21:49:03 +0000
with message-id <[email protected]>
and subject line Bug#535160: fixed in offlineimap 6.1.2
has caused the Debian Bug report #535160,
regarding offlineimap fails on encfs (FUSE) due to hard linking
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
535160: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535160
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: offlineimap
Version: 6.0.3
Severity: normal
Tags: patch
Hi,
if the localrepository is stored on an encfs, offlineimap fails as follows:
OfflineIMAP 6.0.3
Copyright (C) 2002 - 2008 John Goerzen <[email protected]>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details. This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
***** Processing account pleione
Copying folder structure from IMAP to Maildir
Establishing connection to tunnel:eval `keychain --quiet --eval` && ssh -q
mymailhost /usr/sbin/dovecot --exec-mail imap.
Syncing Drafts: IMAP -> Maildir
Syncing INBOX: IMAP -> Maildir
----------8<----------
Syncing net: IMAP -> Maildir
Copy message 360 IMAP[net] -> Maildir[net], LocalStatus[net]
Syncing personal: IMAP -> Maildir
Thread 'Copy message 360 from net' terminated with exception:
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/offlineimap/threadutil.py", line
149, in run
Thread.run(self)
File "threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/lib/python-support/python2.4/offlineimap/folder/Base.py", line
282, in copymessageto
newuid = object.savemessage(uid, message, flags, rtime)
File "/var/lib/python-support/python2.4/offlineimap/folder/Maildir.py",
line 198, in savemessage
os.path.join(tmpdir, messagename))
OSError: [Errno 1] Operation not permitted
Last 4 debug messages logged for Copy message 360 from net prior to
exception:
----------8<----------
As encfs does not support hard linking, the rename of the temporary
message file fails.
This is the only occurrence of hard linking in offlineimap and can be
fixed by using an atomic `os.rename` instead of `os.link`+`os.unlink`.
I have been using the attached patch for more than 1.5 years and have
never again had any problems with offlineimap on encfs.
Regards,
Peter
--- offlineimap-6.0.3.orig/offlineimap/folder/Maildir.py
+++ offlineimap-6.0.3/offlineimap/folder/Maildir.py
@@ -194,9 +194,8 @@
ui.debug('maildir', 'savemessage: moving from %s to %s' % \
(tmpmessagename, messagename))
if tmpmessagename != messagename: # then rename it
- os.link(os.path.join(tmpdir, tmpmessagename),
+ os.rename(os.path.join(tmpdir, tmpmessagename),
os.path.join(tmpdir, messagename))
- os.unlink(os.path.join(tmpdir, tmpmessagename))
if self.dofsync:
try:
--- End Message ---
--- Begin Message ---
Source: offlineimap
Source-Version: 6.1.2
We believe that the bug you reported is fixed in the latest version of
offlineimap, which is due to be installed in the Debian FTP archive:
offlineimap_6.1.2.dsc
to pool/main/o/offlineimap/offlineimap_6.1.2.dsc
offlineimap_6.1.2.tar.gz
to pool/main/o/offlineimap/offlineimap_6.1.2.tar.gz
offlineimap_6.1.2_all.deb
to pool/main/o/offlineimap/offlineimap_6.1.2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
John Goerzen <[email protected]> (supplier of updated offlineimap package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 16 Jul 2009 10:52:30 -0500
Source: offlineimap
Binary: offlineimap
Architecture: source all
Version: 6.1.2
Distribution: unstable
Urgency: low
Maintainer: John Goerzen <[email protected]>
Changed-By: John Goerzen <[email protected]>
Description:
offlineimap - IMAP/Maildir synchronization and reader support
Closes: 535160 535540
Changes:
offlineimap (6.1.2) unstable; urgency=low
.
* Applied patch from Peter Colberg to remove usage of hard linking.
Closes: #535160.
* Fix the order of folders during sync. Patch from
Nicolas Dandrimont. Closes: #535540.
* Reduce memory usage when scanning Maildirs. Patch from Michal
Vitecek.
* Use latest version of imaplib2. Patch from Christoph Höger.
Fixes Kerberos login problems.
* Quick synchronizations (for 'quick' > 0) are now performed between
full synchronizations (as specified in the documentation).
Patch from Michal Vitecek.
Checksums-Sha1:
ad161f46ddaab9d8c1fbdd76052535cf765a37a9 1045 offlineimap_6.1.2.dsc
c07373cb4e14f7fe770849614a137ba246b6b159 118429 offlineimap_6.1.2.tar.gz
7a4a9d4f0f0d724d050f876d62abc7114da6b73b 170656 offlineimap_6.1.2_all.deb
Checksums-Sha256:
fd41674bc432abda3b9cd845b68dbd0c2209ced9d71936434cab3c09299ee94f 1045
offlineimap_6.1.2.dsc
3541ba159a0253a30ac4930799d30fd225337283c651e195ae4f0b2db0249256 118429
offlineimap_6.1.2.tar.gz
f897fd7f47799bbdb9bed49597546004f3abe5d1f94e0158d36cd7d7a3ee4986 170656
offlineimap_6.1.2_all.deb
Files:
e69c2bdf46be4faf5a8469b2d29a56f6 1045 mail optional offlineimap_6.1.2.dsc
daa378a30d23962bb5748f7187066c94 118429 mail optional offlineimap_6.1.2.tar.gz
9b8db2f91d5fcbb8ed20d9c15ed69435 170656 mail optional offlineimap_6.1.2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpfTkEACgkQthyt9Q6V7ktxDwCdEQH+FgnOxDfcMnWBxAgoqPbt
V74AoJLWDVPGxLVRh3nDPoihfVq9w64z
=6vjj
-----END PGP SIGNATURE-----
--- End Message ---