[pkg-cryptsetup-devel] Bug#521789: cryptsetup: starting non-luks partitions fails

Benjamin Gufler gufler at cs.tum.edu
Mon Mar 30 06:49:06 UTC 2009


Package: cryptsetup
Version: 2:1.0.6-7
Severity: important
Tags: patch

Cryptsetup for non-luks devices calls udev's vol_id to check for existing file systems. udev 0.140-1, however, changed its return messages, so the check doesn't properly work.

The new message should presumably be incorporated in /lib/cryptsetup/checks/un_vol_id:
23c23
< if [ "$vol_id" != "$dev: unknown volume type" ] && [ "$vol_id" != "minix" ] && [ -z "$fs" ] && [ "$vol_id" != "unknown or non-unique volume type (--probe-all lists possibly conflicting types)" ]; then
---
> if [ "$vol_id" != "$dev: unknown volume type" ] && [ "$vol_id" != "minix" ] && [ -z "$fs" ]; then

Benjamin

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

Kernel: Linux 2.6.22-2-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
pn  dosfstools                    <none>     (no description available)
ii  initramfs-tools [linux-initra 0.93.1     tools for generating an initramfs
ii  udev                          0.140-1    /dev/ and hotplug management daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list