[Pkg-sysvinit-devel] Bug#584862: Bug#584862: Running scripts in rcS.d/ took [negative two thousand+] seconds.

Henrique de Moraes Holschuh hmh at debian.org
Wed Jun 9 00:38:02 UTC 2010


On Mon, 07 Jun 2010, jidanni at jidanni.org wrote:
> Anyway, you had very much better independently count, and not depend on
> something that gets reset halfway through the process!!

The right answer is to use the POSIX monotonic clock.  At rc.S time,
this likely means we'd need something written in C and installed to
/bin.

If that cannot be done, it is best to just drop this functionality. It
will give false results quite often if it is based on the wall clock
(which we set at rcS, and also during rc2.d when ntp/ntpdate/chrony
runs).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh





More information about the Pkg-sysvinit-devel mailing list