diff options
author | Thilo Bangert <bangert@gentoo.org> | 2009-05-12 09:21:58 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2009-05-12 09:21:58 +0000 |
commit | dc7037e35fc1817973fe66dbf9bbb86f01cfe923 (patch) | |
tree | 746a0687f7d58e7758fd7f096957027ab30226fa /sys-process | |
parent | EAPI2fy (diff) | |
download | historical-dc7037e35fc1817973fe66dbf9bbb86f01cfe923.tar.gz historical-dc7037e35fc1817973fe66dbf9bbb86f01cfe923.tar.bz2 historical-dc7037e35fc1817973fe66dbf9bbb86f01cfe923.zip |
reduce chance of race condition - bug #98189
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/bcron/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/bcron/files/crontab | 13 | ||||
-rw-r--r-- | sys-process/cronie/ChangeLog | 5 | ||||
-rw-r--r-- | sys-process/cronie/files/cronie-1.2-crontab | 15 | ||||
-rw-r--r-- | sys-process/dcron/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/dcron/files/crontab | 31 | ||||
-rw-r--r-- | sys-process/fcron/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/fcron/files/crontab | 29 | ||||
-rw-r--r-- | sys-process/vixie-cron/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/vixie-cron/files/crontab-3.0.1-r4 | 13 |
10 files changed, 71 insertions, 63 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 diff --git a/sys-process/cronie/ChangeLog b/sys-process/cronie/ChangeLog index 65449e2b3c21..5bfb7df81d84 100644 --- a/sys-process/cronie/ChangeLog +++ b/sys-process/cronie/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/cronie # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.2 2009/05/12 08:27:27 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.3 2009/05/12 09:11:00 bangert Exp $ + + 12 May 2009; Thilo Bangert <bangert@gentoo.org> files/cronie-1.2-crontab: + reduce chance of race condition - bug #98189 *cronie-1.3 (12 May 2009) diff --git a/sys-process/cronie/files/cronie-1.2-crontab b/sys-process/cronie/files/cronie-1.2-crontab index 8e18f4aed700..e714d9196587 100644 --- a/sys-process/cronie/files/cronie-1.2-crontab +++ b/sys-process/cronie/files/cronie-1.2-crontab @@ -1,8 +1,5 @@ -# for vixie cron -# -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.2-crontab,v 1.1 2009/02/17 22:09:35 bangert Exp $ -# -# +# for cronie +# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.2-crontab,v 1.2 2009/05/12 09:10:59 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 diff --git a/sys-process/dcron/ChangeLog b/sys-process/dcron/ChangeLog index 26198a8c38ff..3cd84a203482 100644 --- a/sys-process/dcron/ChangeLog +++ b/sys-process/dcron/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/dcron -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/ChangeLog,v 1.12 2007/06/07 00:06:22 vapier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/ChangeLog,v 1.13 2009/05/12 09:18:28 bangert Exp $ + + 12 May 2009; Thilo Bangert <bangert@gentoo.org> files/crontab: + reduce chance of race condition - bug #98189 07 Jun 2007; Mike Frysinger <vapier@gentoo.org> +files/dcron-3.2-build.patch, dcron-3.2.ebuild: diff --git a/sys-process/dcron/files/crontab b/sys-process/dcron/files/crontab index 42b52f5203ee..29a7ead6766a 100644 --- a/sys-process/dcron/files/crontab +++ b/sys-process/dcron/files/crontab @@ -1,23 +1,22 @@ +# for dcron +# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/files/crontab,v 1.2 2009/05/12 09:18:29 bangert Exp $ -# /etc/crontab -# 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/files/crontab,v 1.1 2005/03/04 23:42:58 ciaranm Exp $ - -# fcron || dcron: -# This is NOT the system crontab! fcron and dcron do not support a system crontab. -# to get /etc/cron.{hourly|daily|weekly|montly} working with fcron or dcron do +# dcron: +# This is NOT the system crontab! dcron does not support a system crontab. +# to get /etc/cron.{hourly|daily|weekly|montly} working with dcron run # crontab /etc/crontab # as root. # NOTE: This will REPLACE root's current crontab!! +# Global variables +SHELL=/bin/bash +PATH=/sbin:/bin:/usr/sbin:/usr/bin +MAILTO=root +HOME=/ # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly - -*/15 * * * * test -x /usr/sbin/run-crons && /usr/sbin/run-crons -0 * * * * rm -f /var/spool/cron/lastrun/cron.hourly -0 3 * * * rm -f /var/spool/cron/lastrun/cron.daily -15 4 * * 6 rm -f /var/spool/cron/lastrun/cron.weekly -30 5 1 * * 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 diff --git a/sys-process/fcron/ChangeLog b/sys-process/fcron/ChangeLog index 4b9991d7fcc9..0c57bb3e5fe2 100644 --- a/sys-process/fcron/ChangeLog +++ b/sys-process/fcron/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/fcron -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.64 2008/09/13 07:49:20 nixnut Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.65 2009/05/12 09:21:57 bangert Exp $ + + 12 May 2009; Thilo Bangert <bangert@gentoo.org> files/crontab: + reduce chance of race condition - bug #98189 13 Sep 2008; nixnut <nixnut@gentoo.org> fcron-3.0.4-r1.ebuild: Stable on ppc wrt bug 237066 diff --git a/sys-process/fcron/files/crontab b/sys-process/fcron/files/crontab index 1bc63cd4dddf..5e66c2959537 100644 --- a/sys-process/fcron/files/crontab +++ b/sys-process/fcron/files/crontab @@ -1,19 +1,22 @@ -# /etc/crontab -# -# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/files/crontab,v 1.1 2005/03/04 23:50:36 ciaranm Exp $ +# for fcron +# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/files/crontab,v 1.2 2009/05/12 09:21:58 bangert Exp $ -# fcron || dcron: -# This is NOT the system crontab! fcron and dcron do not support a system crontab. -# to get /etc/cron.{hourly|daily|weekly|montly} working with fcron or dcron do +# fcron: +# This is NOT the system crontab! fcron does not support a system crontab. +# to get /etc/cron.{hourly|daily|weekly|montly} working with fcron run # crontab /etc/crontab # as root. # NOTE: This will REPLACE root's current crontab!! -# 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> -# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly +# Global variables +SHELL=/bin/bash +PATH=/sbin:/bin:/usr/sbin:/usr/bin +MAILTO=root +HOME=/ -0 * * * * rm -f /var/spool/cron/lastrun/cron.hourly -1 3 * * * rm -f /var/spool/cron/lastrun/cron.daily -15 4 * * 6 rm -f /var/spool/cron/lastrun/cron.weekly -30 5 1 * * rm -f /var/spool/cron/lastrun/cron.monthly -*/10 * * * * /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons +# check scripts in cron.hourly, cron.daily, cron.weekly and 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 diff --git a/sys-process/vixie-cron/ChangeLog b/sys-process/vixie-cron/ChangeLog index 9189696d3893..2ff1f10b979c 100644 --- a/sys-process/vixie-cron/ChangeLog +++ b/sys-process/vixie-cron/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/vixie-cron -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.56 2008/09/26 03:20:47 pebenito Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.57 2009/05/12 09:13:46 bangert Exp $ + + 12 May 2009; Thilo Bangert <bangert@gentoo.org> files/crontab-3.0.1-r4: + reduce chance of race condition - bug #98189 *vixie-cron-4.1-r11 (26 Sep 2008) diff --git a/sys-process/vixie-cron/files/crontab-3.0.1-r4 b/sys-process/vixie-cron/files/crontab-3.0.1-r4 index 69e4357684bf..a38b89ef8169 100644 --- a/sys-process/vixie-cron/files/crontab-3.0.1-r4 +++ b/sys-process/vixie-cron/files/crontab-3.0.1-r4 @@ -1,8 +1,5 @@ # for vixie cron -# -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4,v 1.1 2005/03/04 23:59:48 ciaranm Exp $ -# -# +# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4,v 1.2 2009/05/12 09:13:46 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 |