[Bug 520273] Re: cron doesn't send mail

narnie 520273 at bugs.launchpad.net
Wed Sep 1 04:31:27 BST 2010


I have found the problem. It is caused by ecryptfs the way it is
implemented in Ubuntu. Here is the culprit (found by hours of removing
files and directories and rebooting):

I don't like my Private folder automounted. My solution, follow the
recommendations to delete .ecryptfs/auto-mount.

When this is done, ecrypt tries to automount, but throws an error:

Aug 31 02:43:01 localhost CRON[8404]: Skipping automatic eCryptfs mount

followed by this error:

Aug 31 02:43:01 localhost CRON[8405]: (woodnt) CMD (echo "hello `date`")

Now I feel stupid for spending hours at this when I should have just
done a simple mv .ecryptfs .ecryptfs.bak first, instead of for every dir
(after I found every .xxx regular file had nothing to do with it).

I then also get the above cron process tree found by ps -auxf.

When I isolated .ecrpytfs, then I noted I had deleted the auto-mount and
touched it to put it back. Rebooted, and I get mail and I get NO defunct
sh and get no build up of cron processes.

This is a significant but, but not critical and likely affects very few
people, but is hard to figure out when it does!

Not sure how to move this thread over to ecryptfs-utils.

Please advise,
Narnie

PS, it seems postfix is trying to send, but gets stuck (as noted above
with the \_ /usr/sbin/sendmail -i -FCronDaemon -oem woodnt getting
stuck, kind like it is waiting on stdin but who knows).

-- 
cron doesn't send mail
https://bugs.launchpad.net/bugs/520273
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.



More information about the Ubuntu-server-bugs mailing list