[pkg-cryptsetup-devel] Bug#595331: new version of crypttab doesn't work without changing config file: it is uncompatible with previous version

Dmitry E. Oboukhov unera at debian.org
Fri Sep 3 05:11:48 UTC 2010


Package: cryptsetup
Version: 2:1.1.3-3
Severity: grave
Justification: impossible to reboot system if upgrade this package

Hi, maintainer!

A few day ago I upgraded my system, cryptsetup was upgraded, too. My
crypttab contained these strings:

=cut

nroot           /dev/sda6 none size=256,cipher=aes-cbc-plain,check=blkid,hash=ripemd160,tries=9
chome           /dev/sda3 none size=256,cipher=aes-cbc-plain,check=blkid,hash=ripemd160,tries=9

=end cut

Today I've tried to reboot my system and got these error messages
instead booting:

Starting crypto disk...chome (starting)...
WARNING: The check script /lib/cryptsetup/checks/ext2 is depreciated. Please use check script blkid instead.
 - The device /dev/mapper/chome_unformatted does not contain a filesystem type ext2.
chome: the check for '/dev/mapper/chome' failed - maybe the password is wrong ... (warning).
chome (failed)...failed.


I think that to change runnable test to bypass with this warning is a
very bad idea.

I was forced to boot from CD and change crypttab by hand.

I think that You should create symlinks ext2 -> blkid, or write a
script which would show this message and do exec blkid. But current state
when user will lose possibility to boot if he uses test which doesn't
have name 'blkid' is wrong state.
-- 
... mpd is off

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: unera at debian.org jabber://UNera@uvw.ru
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100903/47155d95/attachment.pgp>


More information about the pkg-cryptsetup-devel mailing list