[pkg-cryptsetup-devel] Bug#600922: cryptsetup: init script "cryptdisks-early" fails during system halt reopens bug 575652
spamfang
spamfang1199 at yahoo.de
Thu Oct 21 12:40:09 UTC 2010
Package: cryptsetup
Version: 2:1.1.3-3
Severity: normal
Tags: squeeze
I have encrypted root & home partitions. Everytime I shutdown, the system
shows: stopping early crypto disks failed. This is related to bug 575652.
The bug is still present in version 1.1.3-3, though the maintainer thought it
was fixed in this version.
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.32-5-686 root=/dev/mapper/hda9_crypt ro quiet
-- /etc/crypttab
hda9_crypt UUID=732e1472-6a1a-498c-b4d7-4355d06f9c1d none luks
privat /dev/sda6 /etc/keyfile luks,cipher=aes-cbc-essiv:sha256
home /dev/sda7 /etc/keyfile luks,cipher=aes-cbc-essiv:sha256
-- /etc/fstab
## /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/hda9_crypt / ext3 noatime,user_xattr,errors=remount-ro 0 1
# /boot was on /dev/hda8 during installation
UUID=948210bf-c3b8-4d18-af8a-fa74638104b9 /boot ext3 noatime 0 2
# /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda5 /data vfat rw,utf8,umask=0 0 0
/dev/mapper/home /home ext2 noatime,user_xattr,errors=remount-ro 0 0
/dev/mapper/privat /privat ext3 noatime,user_xattr,errors=remount-ro 0 0
-- lsmod
Module Size Used by
xts 1701 1
gf128mul 5106 1 xts
fuse 43625 3
ext2 46157 1
nls_utf8 908 1
nls_cp437 4489 1
vfat 6534 1
fat 34776 1 vfat
loop 9729 2
snd_cmipci 22455 2
snd_pcm 47226 1 snd_cmipci
snd_page_alloc 4977 1 snd_pcm
snd_opl3_lib 6022 1 snd_cmipci
snd_hwdep 4054 1 snd_opl3_lib
snd_mpu401_uart 4067 1 snd_cmipci
snd_seq_midi 3576 0
snd_seq_midi_event 3684 1 snd_seq_midi
snd_rawmidi 12513 2 snd_mpu401_uart,snd_seq_midi
snd_seq 35327 2 snd_seq_midi,snd_seq_midi_event
snd_timer 12258 3 snd_pcm,snd_opl3_lib,snd_seq
snd_seq_device 3673 4 snd_opl3_lib,snd_seq_midi,snd_rawmidi,snd_seq
i2c_viapro 4419 0
snd 34339 13 snd_cmipci,snd_pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
via_ircc 13279 0
soundcore 3450 1 snd
parport_pc 15799 0
shpchp 21220 0
parport 22554 1 parport_pc
pci_hotplug 18065 1 shpchp
ns558 1599 0
processor 26603 1
gameport 6025 3 snd_cmipci,ns558
irda 75888 1 via_ircc
psmouse 44621 0
pcspkr 1207 0
evdev 5609 13
serio_raw 2916 0
crc_ccitt 1039 1 irda
ext3 93832 4
jbd 31965 1 ext3
mbcache 3762 2 ext2,ext3
sha256_generic 10748 6
aes_i586 6816 8
aes_generic 25738 1 aes_i586
cbc 2047 3
dm_crypt 9059 4
dm_mod 45890 9 dm_crypt
sg 15936 0
sr_mod 10770 0
sd_mod 25801 6
crc_t10dif 1012 1 sd_mod
cdrom 26487 1 sr_mod
radeon 509756 3
ttm 33142 1 radeon
ata_generic 2019 0
drm_kms_helper 18269 1 radeon
ohci_hcd 16776 0
fan 2586 0
pata_via 5669 5
uhci_hcd 15989 0
drm 111884 5 radeon,ttm,drm_kms_helper
i2c_algo_bit 3497 1 radeon
libata 115517 2 ata_generic,pata_via
thermal 9206 0
8139too 14849 0
ehci_hcd 27615 0
floppy 40923 0
i2c_core 12660 5 i2c_viapro,radeon,drm_kms_helper,drm,i2c_algo_bit
usbcore 98185 4 ohci_hcd,uhci_hcd,ehci_hcd
button 3598 0
scsi_mod 101169 4 sg,sr_mod,sd_mod,libata
thermal_sys 9378 3 processor,fan,thermal
8139cp 13285 0
mii 2714 2 8139too,8139cp
nls_base 4541 5 nls_utf8,nls_cp437,vfat,fat,usbcore
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cryptsetup depends on:
ii dmsetup 2:1.02.48-3 The Linux Kernel Device Mapper use
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-3 The Linux Kernel Device Mapper use
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libuuid1 2.17.2-3.3 Universally Unique ID library
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii busybox 1:1.17.1-4 Tiny utilities for small and embed
ii dosfstools 3.0.9-1 utilities for making and checking
ii initramfs-tools [linux-initra 0.98.4 tools for generating an initramfs
ii udev 163-1 /dev/ and hotplug management daemo
-- Configuration Files:
/etc/bash_completion.d/cryptsetup changed:
_cryptsetup_name()
{
COMPREPLY=( $( compgen -X control -W '$( command ls /dev/mapper )' \
-- "$cur" ) )
}
_cryptsetup_device()
{
cur=${cur:=/dev/}
_filedir
}
have cryptsetup &&
_cryptsetup()
{
local cur prev arg
COMPREPLY=()
cur=`_get_cword`
prev=`_get_pword`
case $prev in
--key-file|--master-key-file|--header-backup-file|-d)
_filedir
return 0;
;;
esac
_get_first_arg
if [ -z $arg ]; then
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--hash --cipher --verify-passphrase \
--key-file --master-key-file --key-slot --key-size --size \
--offset --skip --readonly --iter-time --batch-mode --timeout \
--tries --align-payload --version' -- "$cur" ) )
else
COMPREPLY=( $( compgen -W 'create remove status resize luksFormat \
luksOpen luksClose luksSuspend luksResume luksAddKey \
luksRemoveKey luksKillSlot luksDelKey luksUUID isLuks \
luksDump luksHeaderBackup luksHeaderRestore' -- "$cur" ) )
fi
else
_count_args
case $arg in
create)
case $args in
2)
_cryptsetup_name
;;
3)
_cryptsetup_device
;;
esac
;;
remove|status|resize|luksClose|luksSuspend|luksResume)
case $args in
2)
_cryptsetup_name
;;
esac
;;
luksFormat|luksAddKey|luksRemoveKey)
case $args in
2)
_cryptsetup_device
;;
3)
_filedir
;;
esac
;;
luksOpen)
case $args in
2)
_cryptsetup_device
;;
3)
_cryptsetup_name
;;
esac
;;
luksKillSlot|luksDelKey|luksUUID|isLuks|luksDump)
case $args in
2)
_cryptsetup_device
;;
esac
;;
luksHeaderBackup|luksHeaderRestore)
case $args in
2)
_cryptsetup_device
;;
3)
COMPREPLY=( '--header-backup-file' )
;;
esac
;;
esac
fi
return 0
} &&
complete -F _cryptsetup cryptsetup
-- no debconf information
More information about the pkg-cryptsetup-devel
mailing list