[pkg-cryptsetup-devel] Bug#601314: please allow adding extra devices to conf.d/cryptsetup in your hook script

Marc Haber mh+debian-bugs at zugschlus.de
Mon Oct 25 07:24:10 UTC 2010


Package: cryptsetup
Version: 2:1.1.3-3
Severity: wishlist

Hi,

I have a system where the keyscript used to unlock the root fs needs
another crypto file system to be unlocked previously. To do that, I
would like to have that file system added to conf.d/cryptsetup, and to
do that, I'd have to go though pretty much the same motions that
/usr/share/initramfs-tools/hooks/cryptroot already does.

Please consider adding a method to have your hook script handle
additional devices other than the root and the resume devices. It
would be necessary to set some marker to tell the hook script to
handle that device as well. Searching /etc/fstab would probably not be
appropriate since my device will unmounted and locked again after the
root was mounted.

Having the device in crypttab, specially marked, would probably be ok.

Please indicate how you would like to tell the hook script about
additional devices to handle, and I'll provide a patch.

Greetings
Marc





More information about the pkg-cryptsetup-devel mailing list