Package: cron Version: 3.0pl1-98 Tags: patch User: [EMAIL PROTECTED] Usertags: incorrect-dependency
When testing dependency based boot sequencing, I discovered what I believe is a bug in the init.d/cron script. It need a mounted /usr/, but do not depend on $remote_fs which is the dependency required for scripts needing /usr/. This patch should solve the issue. diff -ur cron-3.0pl1.orig/debian/cron.init cron-3.0pl1/debian/cron.init --- cron-3.0pl1.orig/debian/cron.init 2008-01-06 21:57:18.000000000 +0100 +++ cron-3.0pl1/debian/cron.init 2008-01-06 21:58:22.000000000 +0100 @@ -3,8 +3,8 @@ # ### BEGIN INIT INFO # Provides: cron -# Required-Start: $syslog $time -# Required-Stop: $syslog $time +# Required-Start: $remote_fs $syslog $time +# Required-Stop: $remote_fs $syslog $time # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Regular background program processing daemon As the stop script do not seem to do anything except killing the daemon, that task might be better left to the sendsigs script in runlevel 0 and 6. If this is indeed the case, I recommend removing 0 and 6 from the Default-Stop list. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

