FS#31026 - [lvm2] systemd lvm.service does not allow to use a lvm over luks (dmcrypt)

Attached to Project: Arch Linux
Opened by solsTiCe (zebul666) - Monday, 06 August 2012, 09:31 GMT
Last edited by Dave Reisner (falconindy) - Monday, 06 August 2012, 13:16 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When trying to boot with systemd, I have found that problem with my setup:
I have a LVM volume group inside a luks partition (dmcrypt) and the boot process times out because it couldn't find the partition on the LVM vg.

So instead of using the bare lvm.service, I have modified it to run after cryptsetup.target but that is not enough. The new lvm service is run correctly after cryptsetup only haff the time. The other time, it fails with a timeout as previously because it is run before cryptsetup.

My "systemd"-fu is not big enough to be able to write a correct lvm.service and make this work.

I would like to request, either a fix for lvm.service or a new lvm-on-luks.service to fix this.
This task depends upon

Closed by  Dave Reisner (falconindy)
Monday, 06 August 2012, 13:16 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#30908 
Comment by solsTiCe (zebul666) - Monday, 06 August 2012, 10:17 GMT
oops I just found that  FS#30908  just talks about that.

Loading...