Bug 242078 - add support for cryptsetup-uuids
Summary: add support for cryptsetup-uuids
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F8Target
TreeView+ depends on / blocked
Reported: 2007-06-01 15:40 UTC by Karsten Hopp
Modified: 2014-03-17 03:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-10-24 18:32:32 UTC
Type: ---

Attachments (Terms of Use)
proposed patch (1.26 KB, patch)
2007-06-02 20:25 UTC, Karsten Hopp
no flags Details | Diff
enhanced patch to support /dev/disk/by-uuid/* in /etc/crypttab (1.40 KB, patch)
2007-06-20 11:28 UTC, Karsten Hopp
no flags Details | Diff

Description Karsten Hopp 2007-06-01 15:40:44 UTC
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):

Comment 1 Bill Nottingham 2007-06-01 18:55:03 UTC
Patch? :)

Comment 2 Bill Nottingham 2007-06-01 18:55:52 UTC
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.

Comment 3 Karsten Hopp 2007-06-02 20:25:27 UTC
Created attachment 155994 [details]
proposed patch

Comment 4 Charles R. Anderson 2007-06-05 21:43:10 UTC
Is there a problem with using /dev/disk/by-uuid/* in /etc/crypttab instead?

Comment 5 Bill Nottingham 2007-06-05 21:51:34 UTC
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.

Comment 6 Karsten Hopp 2007-06-20 11:28:11 UTC
Created attachment 157448 [details]
enhanced patch to support /dev/disk/by-uuid/* in /etc/crypttab

Comment 7 Harald Hoyer 2007-08-14 14:02:08 UTC
checked in initscripts cvs

Note You need to log in before you can comment on or make changes to this bug.