[Pkg-sysvinit-devel] Bug#585537: Calculated time for running scripts in rcS is wrong

Petter Reinholdtsen pere at hungry.com
Fri Jun 11 14:11:51 UTC 2010


reassign 584862 sysv-rc
retitle 584862 sysv-rc: duration calculations do not handle time zone adjustments
retitle 585537 sysv-rc: duration calculations do not handle time zone adjustments
forcemerge 584862 585537
thanks

[Michael Biebl]
> after finishing the rcS stage, the /etc/init/rc script prints
> "Running scripts in rcS.d/ took -7191 seconds"
> 
> I'm in timezone CEST and use UTC=no in /etc/default/rcS.
> I assume the time jumps for 2 h because of the hwclock init script and
> the correct duration would be 2x3600 - 7191 = 9 sec

Yeah, probably.  The same was reported in #584862.  I am open for
suggestions on how to get this calculation more robust.  If we can't
make it more robust, it might be better to just remove it.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list