summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-05-12 09:07:55 +0000
committerThilo Bangert <bangert@gentoo.org>2009-05-12 09:07:55 +0000
commit543f1cfd5d852b01040017b38fcff9af5e029c8d (patch)
tree7e0d09a7eaf5983d571e9cf5efcebc65eaed75ac /sys-process/bcron
parentAdd patch for ktimer security issue, bug #263844 and http://security.freebsd.... (diff)
downloadgentoo-2-543f1cfd5d852b01040017b38fcff9af5e029c8d.tar.gz
gentoo-2-543f1cfd5d852b01040017b38fcff9af5e029c8d.tar.bz2
gentoo-2-543f1cfd5d852b01040017b38fcff9af5e029c8d.zip
reduce chance of race condition - bug #98189
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'sys-process/bcron')
-rw-r--r--sys-process/bcron/ChangeLog7
-rw-r--r--sys-process/bcron/files/crontab13
2 files changed, 10 insertions, 10 deletions
diff --git a/sys-process/bcron/ChangeLog b/sys-process/bcron/ChangeLog
index ca741c62a921..ea9156a68ae0 100644
--- a/sys-process/bcron/ChangeLog
+++ b/sys-process/bcron/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/bcron
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/bcron/ChangeLog,v 1.10 2008/03/28 22:49:07 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/bcron/ChangeLog,v 1.11 2009/05/12 09:07:54 bangert Exp $
+
+ 12 May 2009; Thilo Bangert <bangert@gentoo.org> files/crontab:
+ reduce chance of race condition - bug #98189
28 Mar 2008; Markus Meier <maekke@gentoo.org> bcron-0.09.ebuild:
amd64 stable, bug #207629
diff --git a/sys-process/bcron/files/crontab b/sys-process/bcron/files/crontab
index 8423cf3d3270..de3adac57a0d 100644
--- a/sys-process/bcron/files/crontab
+++ b/sys-process/bcron/files/crontab
@@ -1,8 +1,5 @@
# for bcron
-#
-# $Header: /var/cvsroot/gentoo-x86/sys-process/bcron/files/crontab,v 1.2 2007/08/26 20:03:07 bangert Exp $
-#
-#
+# $Header: /var/cvsroot/gentoo-x86/sys-process/bcron/files/crontab,v 1.3 2009/05/12 09:07:55 bangert Exp $
# Global variables
SHELL=/bin/bash
@@ -11,8 +8,8 @@ MAILTO=root
HOME=/
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
-0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
-1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
-15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
-30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
+59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
+9 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
+19 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
+29 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons