Bug#33768: anacron hangs on startup
Package: anacron
Version: 2.0.1-2
When starting anacron, it hangs. When starting anacron under strace,
it looks like it hangs on an wait(-1,...) after a fork.
-- System Information
Debian Release: potato
Kernel Version: Linux jill 2.2.1 #101 Fri Feb 5 16:17:12 EST 1999 ppc unknown
Versions of the packages anacron depends on:
ii libc6 2.0.100-2 The GNU C library version 2 (run-time files)
ii sysklogd 1.3-31 Kernel and system logging daemons
smail Not installed or no info
sendmail Not installed or no info
ii exim 2.11-2 Exim Mailer
^^^ (Provides virtual package mail-transport-agent)
--- Begin /etc/init.d/anacron (modified conffile)
#! /bin/sh
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin
test -f /usr/sbin/anacron || exit 0
case "$1" in
start)
# Run anacron only if it's later than 7:30am.
if test `date +%H%M` -lt 730; then
exit 0
fi
echo -n "Starting anac(h)ronistic cron: anacron"
anacron -s
echo "."
;;
restart|force-reload|stop)
:
;;
*)
echo "Usage: /etc/init.d/anacron start"
exit 1
;;
esac
exit 0
--- End /etc/init.d/anacron
Reply to: