[pkg-cryptsetup-devel] Bug#602501: Bug#602501: cryptsetup: /etc/init.d/cryptdisks{, -early} objects to tries=0

Jonas Meurer jonas at freesources.org
Thu Dec 16 16:38:31 UTC 2010


Hey,

On 05/11/2010 Kapil Hari Paranjape wrote:
> Package: cryptsetup
> Version: 2:1.1.3-3
> Severity: wishlist
> 
> Hello,
> 
> I have a system with LUKS encrypted swap which is sometimes resumed
> after hibernation.
> 
> Today I got bitten by the default "tries=3" when I mistyped my LUKS
> passphrase three times and the system booted corrupting the
> filesystem! (Nothing too bad though!)
> 
> I then found the "tries=0" possibility in crypttab which would
> prevent this from biting me again.
> 
> Unfortunately, the startup scripts /etc/init.d/cryptdisks* object to
> (issue a warning for) this value of "tries".
> 
> I was wondering why this was so and whether it can be a " -ge "
> instead of " -gt " in /lib/crypsetup/cryptdisks.functions".

Please give the attached patch a try, it should fix the issue.

greetings,
 jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 602501.diff
Type: text/x-diff
Size: 961 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20101216/632fbc39/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20101216/632fbc39/attachment.pgp>


More information about the pkg-cryptsetup-devel mailing list