On 2009-07-25 15:20 +0200, Petter Reinholdtsen wrote:

> retitle 520607 hwclock.sh should require $local_fs for start
> tag 520607 - patch
> thanks
>
> My proposed patch were not correct, as the hwclock script should not
> wait until mountnfs before running.

Glad to see that you agree with me. :-)

> To avoid them starting at the same time, one could let hwclockfirst
> have 'X-Start-Before: hwclock' to make sure the two scripts run in
> sequence, but that would just be a workaround.  The reason question to
> address is if there should be two scripts, and if there should, where
> in the boot sequence they should run.

AFAICS, there are the following problems:

1) The time needs to be set before checking the root filesystem to avoid
   problems with timestamps in the future when the system runs on
   localtime (UTC=no).  See #343662, #343645 and #443487.

2) The init script wants to write /etc/adjtime (if it does not exist)
   and thus should be run after checkroot.

The first issue seems to be real, but the second may be not.  In fact,
it is probably desirable to move adjtime out of /etc to allow for
mounting / read-only.  See #156489 and #520606 for problems with the
current script.

Sven



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to