Your message dated Wed, 06 Aug 2008 09:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#493622: fixed in cryptsetup 2:1.0.6-5
has caused the Debian Bug report #493622,
regarding cryptsetup: cryptdisks_starts Command failed parse errors and 
keyboard locks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
493622: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493622
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: cryptsetup
Version: 2:1.0.6-4
Severity: normal



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26.1c0
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
(ignored: LC_ALL set to en_IE.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.27-3 The Linux Kernel Device Mapper use
ii  libc6                        2.7-10      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.27-3 The Linux Kernel Device Mapper use
ii  libpopt0                     1.14-4      lib for parsing cmdline parameters
ii  libuuid1                     1.41.0-3    universally unique id library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  dosfstools                    2.11-6     utilities for making and checking
ii  initramfs-tools [linux-initra 0.92e      tools for generating an initramfs
ii  udev                          0.114-2    /dev/ and hotplug management daemo
ii  yaird [linux-initramfs-tool]  0.0.13-2   Yet Another mkInitRD

-- no debconf information

<above the emacs debian-bug command output>

The exact and complete text of any error messages printed or logged:

# cryptdisks_start   sdb2_crypt
sdb2_crypt (starting).
Command failed: No key available with this passphrase


A description of the incorrect behaviour: exactly what behaviour
you were expecting, and what you observed.

attached /etc/crypttab file where you can see the "none" => interactive
passphrase.
After the "Command failed: No key..." message" the keyboard
locks (X-Windows system) and a reboot is needed (mouse does not lock).

The direct command "cryptsetup luksOpen /dev/sdb2 sdb2_crypt"
works perfectly, only the crypdisks_start script fails.

cryptdisks_stop sdb2_crypt script is successfull if runs after
"cryptsetup luksOpen /dev/sdb2 sdb2_crypt"



Suggested fix:

I do not know. Please let me know if you need some testing for your fixes.


Additional information:
After some reading of the documentation I have found the following
extrange things:

File:
/usr/share/doc/cryptsetup/README.Debian.gz

"If you are using udev, it might be a good idea to use the /dev/disk/by-label
links instead of /dev/sdg2 as the link will work no matter in which order the
media is inserted and detected."

/dev/disk/by-label ... on kernel 2.6.26.1 also are /dev/disk/by-id

but in  "/lib/cryptsetup/cryptdisks.functions"

        # parse UUID= symlinks
        if [ "${src#UUID=}" != "$src" ]; then
                src="/dev/disk/by-uuid/${src#UUID=}"
        elif [ "${src#LABEL=}" != "$src" ]; then
                src="/dev/disk/by-label/${src#LABEL=}"

UUID= and LABEL= sintaxes are not documented on man crypttab
There is also ID= ( /dev/disk/by-id on GNU/Linux kernel 2.6.26.1)

Maybe remove this sintax and use the full /dev path on all cases.




Thank you for your work and time.


Best regards

Attachment: crypttab
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: cryptsetup
Source-Version: 2:1.0.6-5

We believe that the bug you reported is fixed in the latest version of
cryptsetup, which is due to be installed in the Debian FTP archive:

cryptsetup-udeb_1.0.6-5_amd64.udeb
  to pool/main/c/cryptsetup/cryptsetup-udeb_1.0.6-5_amd64.udeb
cryptsetup_1.0.6-5.diff.gz
  to pool/main/c/cryptsetup/cryptsetup_1.0.6-5.diff.gz
cryptsetup_1.0.6-5.dsc
  to pool/main/c/cryptsetup/cryptsetup_1.0.6-5.dsc
cryptsetup_1.0.6-5_amd64.deb
  to pool/main/c/cryptsetup/cryptsetup_1.0.6-5_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Meurer <[EMAIL PROTECTED]> (supplier of updated cryptsetup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 06 Aug 2008 10:19:21 +0200
Source: cryptsetup
Binary: cryptsetup cryptsetup-udeb
Architecture: source amd64
Version: 2:1.0.6-5
Distribution: unstable
Urgency: high
Maintainer: Jonas Meurer <[EMAIL PROTECTED]>
Changed-By: Jonas Meurer <[EMAIL PROTECTED]>
Description: 
 cryptsetup - configures encrypted block devices
 cryptsetup-udeb - configures encrypted block devices (udeb)
Closes: 493151 493622 493848
Changes: 
 cryptsetup (2:1.0.6-5) unstable; urgency=high
 .
   * Fix watch file to not report -pre and -rc releases as superior.
   * Remove the global var $SIZE from cryptdisks.functions again but keep the
     extended value checks.
   * Remove the udev rules file also in preinst, code taken from example at
     http://wiki.debian.org/DpkgConffileHandling. Thanks Marco d'Itri.
     (closes: #493151)
   * Remove duplicated configuration of --key-file in $PARAMS at do_noluks().
     (closes: #493848).
   * Invoke mount_fs() and umount_fs() in cryptdisks_start, add
     log_action_begin_msg() and log_action_end_msg() to both cryptdisk_start
     and cryptdisks_stop.
   * Copy fd 3 code from do_start and do_stop to cryptdisks_start and
     cryptdisks_stop  to fix "keyscript | cryptsetup". (closes: #493622)
   * This upload fixes two RC bugs, thus upload with severity=high.
Checksums-Sha1: 
 7ea25df9b1341a98a411fdb7bd8f2181053ba528 1445 cryptsetup_1.0.6-5.dsc
 9052054b65c5d1e42beda4569add1ddb34fc19a4 57495 cryptsetup_1.0.6-5.diff.gz
 2a22e1a34bd64e27e8d2b71b11ed7626eec7ef57 307778 cryptsetup_1.0.6-5_amd64.deb
 803c62d01c483bc6f8fbfd20aed5cd1204eb7153 248220 
cryptsetup-udeb_1.0.6-5_amd64.udeb
Checksums-Sha256: 
 c709e666a4bbd919f829fec10bf69d79020c85b11e501b81a67604a164bbb4a0 1445 
cryptsetup_1.0.6-5.dsc
 580e5ccd7e6bdfdbce92cfef7973bc6efe66bb90fc77d69768332034f45460f8 57495 
cryptsetup_1.0.6-5.diff.gz
 dd8f16b390da1fe7477c7a53100336d31e96c3b470938d0f32197a695e640475 307778 
cryptsetup_1.0.6-5_amd64.deb
 f876ed78f29322601f1f2d6781535e756ea09c92e8052256aab24d8c745db673 248220 
cryptsetup-udeb_1.0.6-5_amd64.udeb
Files: 
 a5009f079c19eee92feddd4683067ef0 1445 admin optional cryptsetup_1.0.6-5.dsc
 0ceeb728cd682f0d77fdfd2c44af79b7 57495 admin optional 
cryptsetup_1.0.6-5.diff.gz
 1b06e7ad9c0e6b4e6623ba04ca64edd3 307778 admin optional 
cryptsetup_1.0.6-5_amd64.deb
 c8871ee2cc6bc3f2ff6d445901d9f4c4 248220 debian-installer optional 
cryptsetup-udeb_1.0.6-5_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiZbGMACgkQd6lUs+JfIQK6nACglmhpW28/DdIKzm/ubzyc9nw7
HBoAnjAMP7ZiE+e/fbS1FUjnBUzBsDZe
=8KzQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to