Encrypted Filesystem for Linux

sqlite misbehaves on encfs

Reported by poison on 2008-01-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EncFS
Fix Released
Undecided
rosa maria

Bug Description

I get the following errors from pretty much all apps using sqlite and having their database on my encfs ~/ (amarok,kopete,xmoto,...):
database is locked
Busy-counter has reached maximum

I don't know if I should rather report this to sqlite, but since it only seems to happen on encfs and I didn't have this problem until encfs-1.4.* (I believe) I think its more likely related to encfs.

settings for my homedir:
$ encfsctl /home/.poison/

Version 5 configuration; created by EncFS 1.3.1 (revision 20040813)
Filesystem cipher: "ssl/aes", version 2:1:1
Filename encoding: "nameio/stream", version 2:1:2
Key Size: 256 bits
Block Size: 512 bytes

I'll try all encfs versions from 1.3.2 to 1.4.1.1 as soon as possible to find out exactly which version first has this problem.

I'm currently using:
encfs-1.4.1.1
rlog-1.3.7
boost-1_34_1
fuse-2.7.2
glibc-2.7
gcc-4.1.2
linux-2.6.22.16
on slackware-current

Is there any other information that would be useful?

poison (rc-poison) wrote :
Download full text (16.0 KiB)

Unfortunately I couldn't find source tarballs for previous 1.4 versions,
but I don't have theese problems on encfs-1.3.2.
Here is a part of a logfile from encfs-1.4.1.1 when digikam hangs.
The logfile is > 50MB and unfortunately I have no clue which part could be relevant.

00:18:25 (Context.cpp:119) no node found for /Pictures/digikam3.db-journal
00:18:25 (DirNode.cpp:734) created FileNode for /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA
00:18:25 (encfs.cpp:139) getattr /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA
00:18:25 (RawFileIO.cpp:191) getAttr error on /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA: No such file or directory
00:18:25 (encfs.cpp:143) getattr error: No such file or directory
00:18:25 (encfs.cpp:139) lock /home/.poison/BVfTpoyEXXpvE,/GPM87ROCGVybOTZ1o1
00:18:25 (RawFileIO.cpp:129) open call for read only file
00:18:25 (RawFileIO.cpp:136) using existing file descriptor
00:18:25 (encfs.cpp:139) lock /home/.poison/BVfTpoyEXXpvE,/GPM87ROCGVybOTZ1o1
00:18:25 (RawFileIO.cpp:129) open call for read only file
00:18:25 (RawFileIO.cpp:136) using existing file descriptor
00:18:25 (encfs.cpp:139) lock /home/.poison/BVfTpoyEXXpvE,/GPM87ROCGVybOTZ1o1
00:18:25 (RawFileIO.cpp:129) open call for read only file
00:18:25 (RawFileIO.cpp:136) using existing file descriptor
00:18:25 (encfs.cpp:139) lock /home/.poison/BVfTpoyEXXpvE,/GPM87ROCGVybOTZ1o1
00:18:25 (RawFileIO.cpp:129) open call for read only file
00:18:25 (RawFileIO.cpp:136) using existing file descriptor
00:18:25 (Context.cpp:119) no node found for /Pictures/digikam3.db-journal
00:18:25 (DirNode.cpp:734) created FileNode for /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA
00:18:25 (encfs.cpp:139) getattr /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA
00:18:25 (RawFileIO.cpp:191) getAttr error on /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA: No such file or directory
00:18:25 (encfs.cpp:143) getattr error: No such file or directory
00:18:25 (encfs.cpp:139) lock /home/.poison/BVfTpoyEXXpvE,/GPM87ROCGVybOTZ1o1
00:18:25 (RawFileIO.cpp:129) open call for read only file
00:18:25 (RawFileIO.cpp:136) using existing file descriptor
00:18:25 (encfs.cpp:139) lock /home/.poison/BVfTpoyEXXpvE,/GPM87ROCGVybOTZ1o1
00:18:25 (RawFileIO.cpp:129) open call for read only file
00:18:25 (RawFileIO.cpp:136) using existing file descriptor
00:18:25 (encfs.cpp:139) lock /home/.poison/BVfTpoyEXXpvE,/GPM87ROCGVybOTZ1o1
00:18:25 (RawFileIO.cpp:129) open call for read only file
00:18:25 (RawFileIO.cpp:136) using existing file descriptor
00:18:25 (encfs.cpp:139) lock /home/.poison/BVfTpoyEXXpvE,/GPM87ROCGVybOTZ1o1
00:18:25 (RawFileIO.cpp:129) open call for read only file
00:18:25 (RawFileIO.cpp:136) using existing file descriptor
00:18:25 (Context.cpp:119) no node found for /Pictures/digikam3.db-journal
00:18:25 (DirNode.cpp:734) created FileNode for /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA
00:18:25 (encfs.cpp:139) getattr /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA
00:18:25 (RawFileIO.cpp:191) getAttr error on /home/.poison/BVfTpoyEXXpvE,/O5IMaMWBWsDIaEdbye423sVuehBA: No such file or directory
00:18:25 (enc...

Valient Gough (vgough) wrote :

Encfs 1.4.x adds support for FUSE lock calls. Earlier versions didn't have any lock support, so that's likely the problem. I'll have to find a simpler lock test..

Valient Gough (vgough) wrote :

Ulockmgr support has been removed for the next release. That was causing locking problems with various programs.

Changed in encfs:
status: New → Fix Committed
Valient Gough (vgough) wrote :

This should be fixed in 1.4.2, please re-open if you still see the problem after upgrading. Thanks.

Changed in encfs:
status: Fix Committed → Fix Released
Changed in encfs:
assignee: nobody → rosa maria (rprosamaria383)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers