Hi, I was able to reproduce this.

the point is you are using mount in cron and your mount command does not
contain all values. That's the reason why mount.ecryptfs starts asking
questions. Cron gives wrong input so mount.ecryptfs repeats it's
questions in a loop (and consumes memory).

If you want to mount ecryptfs dir for example in cron, you should add
verbosity=0 which tells mount.ecryptfs not to ask any question and just
use default values.

Please try it with:
mount -t ecryptfs -o 
key=passphrase,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,passthrough=no,ecryptfs_passthrough=no,passwd=●●●●●●●●●●●●,verbosity=0
 /media/back/.auto /media/back/auto

** Changed in: ecryptfs-utils (Ubuntu)
       Status: New => Confirmed

-- 
mount.ecryptfs takes up enormous amounts of memory when mounting
https://bugs.launchpad.net/bugs/371587
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: ecryptfs-utils

I have a large (>30 GB) ecryptfs partition that I do backups onto. When I mount 
it, mount.ecryptfs starts eating my memory at an alarming rate. I usually end 
up doing killall -9 mount.ecryptfs when this happens, and the partition seems 
to have mounted fine.

This is Ubuntu 9.04 with ecryptfs-utils 73-0ubuntu6.

_______________________________________________
Mailing list: https://launchpad.net/~ecryptfs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ecryptfs
More help   : https://help.launchpad.net/ListHelp

Reply via email to