Your message dated Thu, 04 Nov 2010 20:47:17 +0000
with message-id <[email protected]>
and subject line Bug#594092: fixed in cryptsetup 2:1.1.3-4
has caused the Debian Bug report #594092,
regarding initramfs-tools: Detection of resume device could terminate
prematurely
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.)
--
594092: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594092
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.98
Severity: normal
Hi,
My configuration includes (among other things) encrypted swap + uswsusp.
Within last month one of the initrams-tools upgrades rendered my setup
unusable: resume device (/dev/mapper/swap) was not available during boot.
I went and peppered /usr/share/initramfs-tools/hooks/cryptroot with debug
output and found out that:
1)I have (orphaned) /etc/suspend.conf lying around since Good Olde Times which
lists /dev/sda8 as resume target
2)All other (proper) places list /dev/mapper/swap as resume target
3)"cryptroot" hook terminates prematurely trying to find canonical name for
/dev/sda8.
Specifically, line 97 of "cryptroot":
device=$(canonical_device "$device") || return 0
causes hook to terminate prematurely, broking the resume process. I think that
old config files lying around are not the only possible cause for breakage in
this place, so other users might be affected as well - for example, if they
made errors in their config files.
I think that either user should be warned ("Resume device ... is not available,
fix manually") or more sensible approach to error handling should be employed.
Thank you!
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 8.8M Aug 23 18:59 /boot/initrd.img-2.6.30-1-686
-rw-r--r-- 1 root root 8.6M Aug 10 15:04 /boot/initrd.img-2.6.30-1-686.bak
-- /proc/cmdline
root=/dev/sda1 ro ramdisk_size=8192 resume=/dev/mapper/swap
-- resume
RESUME=/dev/mapper/swap
-- /proc/filesystems
ext2
ext3
fuseblk
-- lsmod
Module Size Used by
iwl3945 61064 0
omnibook 47824 0
sco 8832 2
rfcomm 30368 14
bnep 10860 4
l2cap 18120 19 rfcomm,bnep
vboxnetadp 6428 0
vboxnetflt 12324 0
vboxdrv 155584 2 vboxnetadp,vboxnetflt
acpi_cpufreq 7640 0
cpufreq_powersave 1292 0
cpufreq_userspace 2768 0
cpufreq_stats 3520 0
cpufreq_conservative 6256 2
autofs4 20544 1
irda 95720 0
crc_ccitt 1816 1 irda
binfmt_misc 7120 1
vmnet 33260 13
parport_pc 22420 0
parport 31144 1 parport_pc
vmblock 11256 1
vmci 42584 0
vmmon 59876 0
kvm_intel 39744 0
kvm 138608 1 kvm_intel
fuse 47752 1
nfsd 204900 0
exportfs 3792 1 nfsd
nfs 221580 0
lockd 57972 2 nfsd,nfs
fscache 34440 1 nfs
nfs_acl 2640 2 nfsd,nfs
auth_rpcgss 31416 2 nfsd,nfs
sunrpc 163772 6 nfsd,nfs,lockd,nfs_acl,auth_rpcgss
ext3 107172 3
jbd 41036 1 ext3
btusb 10276 2
bluetooth 47060 9 sco,rfcomm,bnep,l2cap,btusb
visor 13812 0
usbserial 27456 1 visor
coretemp 5176 0
ip_tables 10188 0
x_tables 14108 1 ip_tables
sha256_generic 11216 0
cbc 3012 1
aes_i586 8092 4
aes_generic 27436 1 aes_i586
dm_crypt 11092 3
dm_mod 49992 7 dm_crypt
snd_hda_codec_si3054 4024 1
snd_hda_codec_realtek 178472 1
snd_hda_intel 22192 0
snd_hda_codec 63580 3
snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6120 1 snd_hda_codec
arc4 1560 2
snd_pcm_oss 32232 0
snd_mixer_oss 12368 1 snd_pcm_oss
ecb 2368 4
snd_pcm 62420 4
snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 5688 0
snd_rawmidi 18596 1 snd_seq_midi
iwlcore 92264 1 iwl3945
snd_seq_midi_event 6212 1 snd_seq_midi
pcmcia 24280 0
snd_seq 42436 2 snd_seq_midi,snd_seq_midi_event
snd_timer 17436 2 snd_pcm,snd_seq
snd_seq_device 6136 3 snd_seq_midi,snd_rawmidi,snd_seq
joydev 8576 0
snd 49060 12
snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
mac80211 142848 2 iwl3945,iwlcore
yenta_socket 21168 1
tifm_7xx1 4864 0
intel_agp 22900 0
rsrc_nonstatic 9664 1 yenta_socket
soundcore 6184 1 snd
i2c_i801 8564 0
nvidia 8869740 31
pcmcia_core 31212 3 pcmcia,yenta_socket,rsrc_nonstatic
pcspkr 2104 0
rng_core 3672 0
rfkill 9668 2 iwlcore
snd_page_alloc 8180 2 snd_hda_intel,snd_pcm
psmouse 37528 0
tifm_core 7104 1 tifm_7xx1
agpgart 30836 2 intel_agp,nvidia
i2c_core 20844 2 i2c_i801,nvidia
battery 6012 0
processor 34504 3 acpi_cpufreq
video 18044 0
container 3244 0
ac 2960 0
button 5060 0
cfg80211 55556 3 iwl3945,iwlcore,mac80211
input_polldev 3588 0
serio_raw 4560 0
output 2604 1 video
evdev 8028 18
ext2 54120 1
mbcache 6924 2 ext3,ext2
ahci 30068 0
sg 20296 0
sr_mod 13264 0
cdrom 30316 1 sr_mod
sd_mod 28748 6
crc_t10dif 1632 1 sd_mod
ata_generic 4340 0
ide_pci_generic 3632 0
ide_core 88100 1 ide_pci_generic
ata_piix 20848 5
uhci_hcd 19132 0
firewire_ohci 18952 0
firewire_core 37736 1 firewire_ohci
crc_itu_t 2148 1 firewire_core
sdhci_pci 6540 0
sdhci 14868 1 sdhci_pci
mmc_core 46384 1 sdhci
led_class 3852 3 iwl3945,iwlcore,sdhci
ehci_hcd 29680 0
libata 150904 3 ahci,ata_generic,ata_piix
e100 27464 0
mii 4664 1 e100
scsi_mod 131800 4 sg,sr_mod,sd_mod,libata
usbcore 126004 6 btusb,visor,usbserial,uhci_hcd,ehci_hcd
fan 4044 0
thermal 12580 0
thermal_sys 13140 4 processor,video,fan,thermal
-- /etc/kernel-img.conf
# Do not create symbolic links in /
Do_Symlinks = Yes
do_initrd = Yes
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub
do_bootloader = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
# <target device> <source device> <key file> <options>
home /dev/sda6 none luks,checkargs=ext3
var /dev/sda7 none luks,checkargs=ext3
swap /dev/sda8 none swap,luks,timeout=30
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptopenct
cryptopensc
cryptpassdev
cryptroot
cryptroot.orig
dmsetup
keymap
klibc
thermal
udev
uswsusp
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.15-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 161-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.17.1-2 Tiny utilities for small and embed
Versions of packages initramfs-tools suggests:
ii bash-completion 1:1.2-2 programmable completion for the ba
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: cryptsetup
Source-Version: 2:1.1.3-4
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.1.3-4_amd64.udeb
to main/c/cryptsetup/cryptsetup-udeb_1.1.3-4_amd64.udeb
cryptsetup_1.1.3-4.debian.tar.gz
to main/c/cryptsetup/cryptsetup_1.1.3-4.debian.tar.gz
cryptsetup_1.1.3-4.dsc
to main/c/cryptsetup/cryptsetup_1.1.3-4.dsc
cryptsetup_1.1.3-4_amd64.deb
to main/c/cryptsetup/cryptsetup_1.1.3-4_amd64.deb
libcryptsetup-dev_1.1.3-4_amd64.deb
to main/c/cryptsetup/libcryptsetup-dev_1.1.3-4_amd64.deb
libcryptsetup1_1.1.3-4_amd64.deb
to main/c/cryptsetup/libcryptsetup1_1.1.3-4_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: SHA256
Format: 1.8
Date: Thu, 04 Nov 2010 20:36:45 +0100
Source: cryptsetup
Binary: cryptsetup cryptsetup-udeb libcryptsetup1 libcryptsetup-dev
Architecture: source amd64
Version: 2:1.1.3-4
Distribution: unstable
Urgency: high
Maintainer: Debian Cryptsetup Team
<[email protected]>
Changed-By: Jonas Meurer <[email protected]>
Description:
cryptsetup - configures encrypted block devices
cryptsetup-udeb - configures encrypted block devices (udeb)
libcryptsetup-dev - libcryptsetup development files
libcryptsetup1 - libcryptsetup shared library
Closes: 554506 563961 584174 589800 591626 594092 595331 597648 598237
Changes:
cryptsetup (2:1.1.3-4) unstable; urgency=high
.
* bump standards-version to 3.9.1, no changes required
* add patches/01_manpage_units: mention units (512b sectors) for -o option
in man page. (closes: #584174)
* move cryptdisks_st* scripts from /usr/sbin to /sbin, add symlinks for
compatibility reasons. thanks to Mario 'BitKoenig' Holbe. (closes: #589800)
* add decrypt_keyctl keyscript and initramfs hook from Michael Gebetsroither,
which supports to cache a passphrase for later use. (closes: #563961)
* invoke /sbin/lvm with full path in cryptroot initramfs script. thanks to
Bernd Zeimetz. (closes: #597648)
* print out a warning at initramfs cryptroot hook in case that detection of
canonical device failed. (closes: #594092)
* add manpage fixes, thanks to Stephen Gildea for patch. (closes: #598237)
* fix depreciated ext2 wrapper checkscript to succeed for ext2, ext3, ext4
and ext4dev filesystems. (closes: #595331)
* again remove duplicates from debian/NEWS.
* truncate trailing spaces for some variables at initramfs cryptroot hook.
* remove volume group -guessing magic from initramfs scripts and hooks,
instead activate all available lvm volume groups. thanks to Christoph
Anton Mitterer for the suggestion. (closes: #554506, #591626)
* remove /etc/bash_completion.d from debian/cryptsetup.dirs
* set urgency=high as this upload fixes two release-critical bugs.
Checksums-Sha1:
449bf067bad4b0673b2bb5c02a0010ec665896be 2190 cryptsetup_1.1.3-4.dsc
d716f44c238cda49fb6f44ea172e9eb0ccc4a20e 78420 cryptsetup_1.1.3-4.debian.tar.gz
99bbcaf00167a4c63023a2b1824c92b57e8e4d9c 416796 cryptsetup_1.1.3-4_amd64.deb
78b6704eeb9312ed885398abd3965480510f31b7 298236
cryptsetup-udeb_1.1.3-4_amd64.udeb
47c10d5114a9687910d467dd10003cd653db84a0 77676 libcryptsetup1_1.1.3-4_amd64.deb
de5b2230a0bad6fa292527b6c06a4b8d283678c1 41676
libcryptsetup-dev_1.1.3-4_amd64.deb
Checksums-Sha256:
9f6a3468f9a2c81201cc1aafe33fa8f6b2dff99cc31630f23ff9d9fe5653b25f 2190
cryptsetup_1.1.3-4.dsc
180549d5b5f70437bde63239e857db95ff4fdce26a2cc46eaf40b21315addbc2 78420
cryptsetup_1.1.3-4.debian.tar.gz
a9bf47297e15c3cd5f93a0794636c0b9a829daf31aeb17e0984ba83d373d2f8a 416796
cryptsetup_1.1.3-4_amd64.deb
305b082e58b96bc505693db589b26311e52b2fcb3cfdf835d609427ea699a1e7 298236
cryptsetup-udeb_1.1.3-4_amd64.udeb
5873ab2ce8fe5fa43c9eb29ab427e1dfa96d4f1161333e1ebc75f0c18ff31cb3 77676
libcryptsetup1_1.1.3-4_amd64.deb
96df9f50acbc9ae2715acbda1eccf183eb0b8c1e86f2152b8c3c3f87c21ac1fc 41676
libcryptsetup-dev_1.1.3-4_amd64.deb
Files:
0050f2b41e08e6fe404d4c485a6e2908 2190 admin optional cryptsetup_1.1.3-4.dsc
cb5083564beba927e00081556f28c0b2 78420 admin optional
cryptsetup_1.1.3-4.debian.tar.gz
bf6ffae66ffec77197e656b2c813cd4a 416796 admin optional
cryptsetup_1.1.3-4_amd64.deb
b38271d4e7bb925bb03fa3d9982520cc 298236 debian-installer optional
cryptsetup-udeb_1.1.3-4_amd64.udeb
472a87e03da233d9d8083a93da2b5211 77676 libs optional
libcryptsetup1_1.1.3-4_amd64.deb
c21a17131814852fd735899c39351106 41676 libdevel optional
libcryptsetup-dev_1.1.3-4_amd64.deb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJM0wwIAAoJEFJi5/9JEEn+fUoP/2vZuwiyC2H/Wej29tKJJMaT
1aeHgIO2H4e65PBsy/KLA93/CfZ1yiF9FTWJS/U0/WgsM8VnZ6cQ+mzVeKLPMBDO
/Reiv9naVSXa/wJRjKs63tnOP+MGYzTGu+P6WFgfxINko9ipWOIzvr/2/CzRvkV/
jCxywMkfDbK9HYP1K2TmGsC1nYOTM4z7lz5N5O/j0AX9vs7gx67ywETfqqD7mCGZ
/Mo6O3NbpQ59fi1kxhGDKZzs6d82WALoCk/2K7gxp3ESRgBxWVSTn9tSiEHpcWpe
kR+/lhtACzKLXe/R8pdQhBOLVi19/SEgjOISveP/BzzWB8ESNXsS7254TWwXAQ4j
H6Hnmt3mIpFTP1UDYBJqdllDUEYrfnln3eQBjYvLo+qtbLBWaKcPXf8P4RHBeW2R
6ffzcy4HRjnftnE5YX3HynjNsJ2lpkots/78kb3heToM3UdX/1Z/7L86bJYkPFiK
mvw88rocWPbRVV3QeBwvWfZCaYt+AgD2gbUsmkmUD3o/0Fy2XSHG+3RNlv6slV6o
AO7HOhCvQ9cvTFeCxrts3xzyY+jEp15Et8WsB5awzVa2QlyPf8Jk0oW3ZJXU7TZM
L6jQtv62f4jjzZhAPPyNJKhKvZxc/QH0gRW3vkldAdjwaJ3a6E4kIawtfVibP0DH
aLPIt25WPZtDmoA4VDb4
=B3N1
-----END PGP SIGNATURE-----
--- End Message ---