Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openrc 0.5.1: starting lvm after dmcrypt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
serzh-z
n00b
n00b


Joined: 11 May 2006
Posts: 5
Location: Voronezh

PostPosted: Sun Oct 11, 2009 12:23 pm    Post subject: openrc 0.5.1: starting lvm after dmcrypt Reply with quote

I have a LUKS partition crypt0 at the top of sdb1. And some partitions at the top of crypt0. So I need to start LVM service *after* dmcrypt service started.

With older version of openrc I was using 'rc_lvm_need='dmcrypt'" in /etc/rc.conf and it was worked. But with openrc 0.5.1 lvm *always* started before dmcrypt. I have tried RC_AFTER="dmcrypt" in /etc/conf.d/lvm and even "after dmcrypt" in /etc/init.d/lvm, but it is useless... What I do wrong? Is it bug of openrc-0.5.1?

kernel is 2.6.30
sys-apps/openrc is 0.5.1
sys-fs/lvm2 is 2.02.36
sys-apps/baselayout is 2.0.1
sys-fs/cryptsetup is 1.0.6-r2
Back to top
View user's profile Send private message
serzh-z
n00b
n00b


Joined: 11 May 2006
Posts: 5
Location: Voronezh

PostPosted: Sun Oct 11, 2009 9:32 pm    Post subject: Re: openrc 0.5.1: starting lvm after dmcrypt Reply with quote

I have found RC_AFTER="lvm" in /etc/conf.d/device-mapper... So there is was a circular dependencies. I removed this entry from file and now all OK. Solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum