Bug 403311 - init_crypto doesn't say which device's passphrase it's prompting for
Summary: init_crypto doesn't say which device's passphrase it's prompting for
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cryptsetup-luks
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-28 19:09 UTC by David Lehman
Modified: 2014-03-17 03:11 UTC (History)
2 users (show)

Fixed In Version: cryptsetup-1.0.6-2.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-09 15:51:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Minimal effort approach to making clear which device's passphrase we are asking for (469 bytes, patch)
2007-11-28 19:14 UTC, David Lehman
no flags Details | Diff

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.


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