Comment 3 for bug 371587

Revision history for this message
Michal Hlavinka (mhlavink) wrote :

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