Thanks for the report. I did break the OpenSSL key module setup code
in release 33. Release 34 is now available, and it should be in better
shape now.

On Sat, Dec 15, 2007 at 09:18:17AM -0500, jayjwa wrote:
> I started using ecryptfs and upgraded with the new releases that
> came out until ecryptfs-utils-27. This worked well, but sometimes,
> every 3rd or 4th use,

What do you mean by "use"?

> ecrypfsd would segfault/zombie any command touching the ecryptfs
> files.
>
> This would usually leave ecryptfs stuck mounted, resulting in a full
> filesystem fsck after a reboot was attempted.

This might be bug somewhere in the kernel code. eCryptfs is supposed
to recover gracefully from ecryptfsd suddenly dying at any point in
time (via a timeout in the kernel module). ecryptfsd has never died
for me while I was using the OpenSSL key module, so I will have to
manually kill it to run some tests here.

> With ecryptfs-utils-33, and 2.6.23.9, we don't even get that far:
> 
> # mount -t ecryptfs -o 
> key=openssl:keyfile=/home/jayjwa/crypto/atr2-jayjwa-key.pem
> /var/cache/ecryptfs/100 /home/jayjwa/.ecrypt_mp
> Passphrase:
> Select cipher:
> Selection: 1
> Select cipher:
> Selection: 2
> ...

I rewrote the cipher selection code for release 33. It parses
/proc/crypto and the contents of /lib/modules/`uname -r`/kernel/crypto/
for the available ciphers. Unexpected contents for either location may
cause this strange behavior; I will run some more tests to make sure
everything works right for corner cases.

Thanks,
Mike

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
eCryptfs-users mailing list
eCryptfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-users

Reply via email to