[Petter Reinholdtsen]
> This change was not enough.  Both scripts can not depend on $local_fs
> (which in this case is mountall.sh), as that leads to a dependency
> loop
> (hwclockfirst->$local_fs->mountall->checkfs->checkroot->hwclockfirst).
> Based on its current boot sequence, I suspect hwclockfirst should
> depend on mountkernfs and udev, and nothing more.

There is even more.  Because of the way insserv work, it believe there
is a loop between hwclockfirst and checkfs even if it isn't.  The fix
is to make sure the shutdown sequence do not depend on $local_fs, but
umountfs instead.

Here is an updated header for hwclockfirst, that seem to work.

### BEGIN INIT INFO
# Provides:          hwclockfirst
# Required-Start:    mountdevsubfs udev
# Required-Stop:     umountfs
# Default-Start:     S
# Default-Stop:      0 6
### END INIT INFO

Please use this header instead of the current one.

Happy hacking,
--
Petter Reinholdtsen



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

Reply via email to