Description of problem: rc.sysinit can't handle UUIDs in /etc/crypttab This patch converts UUIDs to real devicenames with /sbin/blkid Other minor changes are - silence cryptsetup - check permissions of key file only if it isn't one of the /dev/*random files Version-Release number of selected component (if applicable): initscripts-8.53-1
Patch? :)
Also, if you've got a script that converts crypttab to use UUID, this would make a very useful addition to the release notes, as PATA->SATA upgrades break crypttab pretty hard.
Created attachment 155994 [details] proposed patch
Is there a problem with using /dev/disk/by-uuid/* in /etc/crypttab instead?
Well, I suppose someone wanting to speed boot might remove all the /dev/disk symlink stuff from the udev rules; but as long as we're shipping them, they should work.
Created attachment 157448 [details] enhanced patch to support /dev/disk/by-uuid/* in /etc/crypttab
checked in initscripts cvs