It's actually not as much a race as a straight-up dead-lock. ntpdate tries to use the same lockfile as ntpd, and ntpdate calls ntpd stop/start, which blocks, waiting for the lock that ntpdate just created.
It's actually not as much a race as a straight-up dead-lock. ntpdate tries to use the same lockfile as ntpd, and ntpdate calls ntpd stop/start, which blocks, waiting for the lock that ntpdate just created.