Bug 403311

Summary: init_crypto doesn't say which device's passphrase it's prompting for
Product: [Fedora] Fedora Reporter: David Lehman <dlehman>
Component: cryptsetup-luksAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: atodorov, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cryptsetup-1.0.6-2.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-09 15:51:31 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:
Attachments:
Description Flags
Minimal effort approach to making clear which device's passphrase we are asking for none

Description David Lehman 2007-11-28 19:09:09 UTC
Description of problem:
A system with multiple encrypted devices can end up with multiple passphrase
prompts during bootup. It can be very frustrating when you don't know which
device's passphrase you're being prompted for.

Version-Release number of selected component (if applicable):
initscripts-8.60-1

How reproducible:
Always

Steps to Reproduce:
1. set up multiple encrypted devices
2. populate /etc/crypttab appropriately
3. boot
  
Actual results:
You are presented with "Enter LUKS passphrase:" prompt for each device in
crypttab, but it is not clear which device is being opened. This will be
particularly troublesome on the first boot after installation when users have no
idea what the ordering of entries in crypttab is.

Expected results:
Some indicator of which device is being opened so the user can know which
passphrase to enter.

Additional info:
This would be maddening enough with passwords, but with potentially lengthy
passphrases this can be a real pain.

Comment 1 David Lehman 2007-11-28 19:14:00 UTC
Created attachment 271631 [details]
Minimal effort approach to making clear which device's passphrase we are asking for

This is sort of a minimalist approach for illustrative purposes. Still, better
than nothing.

Comment 2 Bug Zapper 2008-05-14 04:03:03 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Alexander Todorov 2008-07-09 12:15:58 UTC
Works for me, F9 stock install asks:
Enter LUKS passphrase for /dev/sda2:

on my laptop.