Bug 242078

Summary: add support for cryptsetup-uuids
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: cra, harald, initscripts-maint-list, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-24 18:32:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 235704    
Attachments:
Description Flags
proposed patch
none
enhanced patch to support /dev/disk/by-uuid/* in /etc/crypttab none

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):
initscripts-8.53-1

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