The following was what we had in a long IRC discussion.

This is another circular dependency caused by a difference between LSB
script and OpenRC counterpart:

LSB header defines Required-{Start,Stop}, but OpenRC has only one "need"
relation.

In this special case,

hwclock [Required-Stop $local_fs] umountfs
hwclock [X-Start-Before] checkroot
cryptdisks [X-Stop-After] umountfs
cryptdisks [Required-Start] checkroot

So by merging relations of start and stop during the interpretation from
LSB to OpenRC, as what we are doing now, introduces a circular
dependency.

hwclock uses> umountfs after> cryptdisks need> checkroot after> hwclock


hwclock is screwed by itself. It should be started before fsck, because
the latter needs a clock; It should be stoped before umount (from
$local_fs), because it needs to write the clock offset to local
disk. And $local_fs naturally depends on fsck.

Our present method of breaking dependency loops fails in cases like
this.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to