Bug#478967: cron.daily/standard contains race condition

2008-05-01 Thread Andras Korn
Hey, I just noticed I reported this problem already, almost five years ago. :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=194805#15 But I didn't suggest a better solution then, so there is some progress at least. :) Andras -- Andras Korn

Bug#478967: cron.daily/standard contains race condition

2008-05-01 Thread Andras Korn
Package: cron Version: 3.0pl1-100 Severity: normal While looking at the script, I couldn't help noticing what I believe to be a race condition with potentially harmful conseqences. In the beginning, you have: lockfile-touch $LOCKFILE & LOCKTOUCHPID="$!" Then you do a number of things wh