vcron-3.0.1-r2 causes anacron to fail with the message anacron: Can't close stdin: Bad file descriptor This is almost certainly caused by the "fix" of bug #26413. Problem is not present in vcron-3.0.1-r1. Reproducible: Always Steps to Reproduce: /etc/crontab: 33 22 * * * root /usr/sbin/anacron /etc/anacrontab: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # format: period delay job-identifier command 1 5 cron.daily run-parts /etc/cron.daily 7 10 cron.weekly run-parts /etc/cron.weekly 30 15 cron.monthly run-parts /etc/cron.monthly Actual Results: anacron exited immediately with anacron: Can't close stdin: Bad file descriptor Expected Results: run anacron
Created attachment 20398 [details, diff] updated vcron-3.0.1-close_stdin.diff Updated close stdin patch. Please place this in /usr/portage/sys-apps/vcron/files, and remerge vcron-3.0.1-r2, and see if it fixes the problem.
Patch fixed problem. Thanks.
I was going to post a bug about this, but someone beat me to it. I started a topic about problems with 'expect' not working with vcron after the -r2 update, but I tried this patch and it fixed my problem as well. Thanks The thread with a detailed description of my problem: http://forums.gentoo.org/viewtopic.php?t=104398