[PKG-OpenRC-Debian] OpenRC and cryptsetup

Thomas Goirand zigo at debian.org
Sun Mar 2 13:58:30 UTC 2014


On 03/02/2014 09:01 PM, Julian Wollrath wrote:
>> Ah, very cool! And can you confirm that OpenRC works well with
>> cryptsetup and a dm-crypt partition?
> No, it does not work. It hangs while trying to start cryptdisks-early
> but since it is not chatty I do not know the reason. The only (visible)
> think sysv-rc does differently is activating the swap before starting
> cryptdisks-early. Maybe OpenRC gets some dependency wrong, while trying
> to solve dependency loops:
>  * Found a solvable dependency loop: checkfs.sh p> checkfs n>
> mountall.sh p> mountall u> hwclock.sh a> checkroot n> checkfs.sh.
>  * Solving the loop by breaking mountall u> hwclock.sh.
>  * Found a solvable dependency loop: checkfs.sh p> checkfs n>
> mountall.sh p> mountall n> mountall-bootclean.sh p> mountall-bootclean
> u> hwclock.sh a> checkroot n> checkfs.sh.
>  * Solving the loop by breaking mountall-bootclean u> hwclock.sh.
>  * Found a solvable dependency loop: cryptdisks a> umountfs u>
> hwclock.sh a> checkroot n> cryptdisks-early a> lvm2 u> cryptdisks.
>  * Found a solvable dependency loop: cryptdisks a> umountfs u>
> hwclock.sh a> checkroot n> cryptdisks.
>  * Found a solvable dependency loop: cryptdisks a> umountfs u>
> hwclock.sh a> checkroot n> cryptdisks-early n> cryptdisks.
>  * Solving the loop by breaking umountfs u> hwclock.sh.
>  * Solving the loop by breaking lvm2 u> cryptdisks.
> 
> Do you have an idea, how to debug the problem or do you need more info?
> 
> Cheers,
> Julian

In /etc/rc.conf, there's a dependency loop switch. Can you try to set it
to "NO", and tell if it works better?

Cheers,

Thomas

P.S: Please don't Cc: me, I'm registered to the list, and I don't need
to receive each mail twice.




More information about the OpenRC-devel mailing list