That worked out well. I have added these jobs to my crontab: */1 * * * * /bin/ls >/dev/null */2 * * * * /bin/ls >/dev/null
Therefore every two minutes both jobs are run, while every other minute only one of them gets started. Output from monitor_private_dir.sh since then: Mai 19 11:44:27 ~/Private was unmounted. Mai 19 12:28:27 ~/Private was unmounted. Mai 19 12:32:27 ~/Private was unmounted. Mai 19 12:33:27 ~/Private was unmounted. Mai 19 12:36:27 ~/Private was unmounted. Mai 19 12:42:27 ~/Private was unmounted. Mai 19 12:46:27 ~/Private was unmounted. Mai 19 12:52:27 ~/Private was unmounted. Mai 19 12:54:27 ~/Private was unmounted. Mai 19 13:00:27 ~/Private was unmounted. At 12:33 another regular cronjob was running, so that uneven hit doesn't count. Every other hit proves the theory that two arbitrary cronjobs have to have the same start time to raise the chances of provoking the unmount of ~/Private. Are you able reproduce the bug with this test case (adding the two lines to your crontab and interactively running my script)? -- ecryptfs private directory randomly unmounts https://bugs.launchpad.net/bugs/358573 You received this bug notification because you are a member of eCryptfs, which is subscribed to ecryptfs-utils in ubuntu. Status in eCryptfs - Enterprise Cryptographic Filesystem: Confirmed Status in “ecryptfs-utils” source package in Ubuntu: Confirmed Bug description: Binary package hint: ecryptfs-utils This seems to be bug #259293, but I am filing a new one as I haven't seen this in some time. Twice in the last week my ~/Private directory unmounted. Both times /tmp/ecryptfs-<user>-Private was '0'. Both times, the symlink in the unmounted ~/Private was not present. I have a cron job that runs every 10 minutes that I can see in syslog: Apr 9 11:15:04 hostname CRON[22771]: Mount of private directory return code [0] It could be that bug #259293 is simply 'mostly' fixed and I coincidentally hit this twice in the last week, or it could be a new bug (I don't know). ProblemType: Bug Architecture: amd64 DistroRelease: Ubuntu 9.04 Package: ecryptfs-utils 73-0ubuntu2 ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils Uname: Linux 2.6.28-11-generic x86_64 _______________________________________________ Mailing list: https://launchpad.net/~ecryptfs Post to : [email protected] Unsubscribe : https://launchpad.net/~ecryptfs More help : https://help.launchpad.net/ListHelp

