FS#7267 - rc.sysinit fails on cryptsetup password retry

Attached to Project: Arch Linux
Opened by Delete Me (steve-e) - Friday, 25 May 2007, 09:06 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 21 October 2007, 09:11 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

My homepartiton is encrypted and password is set to ASK so that I have to enter it when booting.

The default cryptsetup behaviour is that you have three tries to enter your password. This is does not work on bootup. When misspelling the password you have to reboot the machine - a very annoying behaviour.
This task depends upon

Closed by  Thomas Bächler (brain0)
Sunday, 21 October 2007, 09:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  Using cryptsetup to ask for the passphrase works, if done properly.

There is a fix in initscripts-git, which will be in testing soon.

You can even specify the number of retries to cryptsetup using the fourth column of crypttab.
Comment by Thomas Bächler (brain0) - Friday, 25 May 2007, 18:03 GMT
Simply calling cryptsetup to ask for the passphrase wouldn't work properly.

I didn't think of password retrying when I wrote it. I'll have it fixed, but not before next Tuesday :)
Comment by Roman Kyrylych (Romashka) - Friday, 31 August 2007, 07:03 GMT
status?
Comment by Petar Bogdanovic (pebo) - Friday, 05 October 2007, 10:30 GMT
The attached patch works for me quite well.

Loading...