mounting multiple LUKS volumes with systemd

Started by jackyohh, 2014/01/03, 11:46:19

Previous topic - Next topic

jackyohh

hi,

i recently installed systemd and i am pretty impressed because of its fast boot and shutdown time. unfortunately there is one bug, that make it useless for me. systemd ignores keyscript in my crypttab, so i have to enter the password for each luks volume.

there is already a bugreport but not solution: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618862

do anybody know a workaround or a similar way to avoid typing the same password for each volume?

bad_aptitude

Is this still an issue or was it solved with the fixes in release 2013.2.?
I ask because I have an encrypted installation (according to the Sidution manual) with swap and root encrypted within the LUKS volume. I don't want to make the change to systemd until I can be sure my setup will survive the transition.
Thanks


bad_

melmarker

#2
you can not be sure ...

but you can use the sysvinit-system. if the problem stay - we accept patches.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

michaaa62

Well, this is working fine for me.
Just installed freshly this great 13.2 version, copied the crypttab and the directory with keyfile from my old install over. After a reboot everything is fine.
Did you try to open the encrypted partitions with the specified files from the crypttab to check for the integrity of the key files?
Did you recheck the UUIDs or Labels from the crypttab?
Did you try to assign fresh new keyfiles to test?