Your message dated Tue, 07 Feb 2012 21:32:18 +0000
with message-id <[email protected]>
and subject line Bug#634017: fixed in cryptsetup 2:1.4.1-1
has caused the Debian Bug report #634017,
regarding cryptsetup: fails to resume from encrypted swap partitition when 
resume device is specified in "'"
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.)


-- 
634017: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634017
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cryptsetup
Version: 2:1.3.0-3
Severity: normal


Hibernate fails to or rather doesn't even attempt to resume from an encrypted 
swap partition, if its name is enclosed in "'" in /etc/initramfs-tools/conf.d
Instead, the system makes a normal bootup.

The content of /etc/initramfs-tools/conf.d/resume is

RESUME='/dev/mapper/swap'

Now, when running update-initramfs -u I see the warning

cryptsetup: WARNING: failed to detect canonical device of '/dev/mapper/swap'

Hibernating works, however when turning the box back on again, it does not 
attempt to resume from the swap device, it just proceeds to do a normal boot. 

I searched for a while, and finally I found that changing

RESUME='/dev/mapper/swap' 

to 

RESUME=/dev/mapper/swap

does the trick

I would consider this a bug, however please correct me if I am mistaken about 
this...

Thanks,

Johannes


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.39-2-686-pae root=/dev/mapper/cryptroot ro quiet

-- /etc/crypttab
# <target name> <source device>         <key file>      <options>
cryptroot /dev/sda6     none luks
swap    /dev/sda7       none 
luks,keyscript=/lib/cryptsetup/scripts/decrypt_derived
home    /dev/sda8       cryptroot 
luks,keyscript=/lib/cryptsetup/scripts/decrypt_derived

-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' 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
# / was on /dev/sda5 during installation
/dev/mapper/cryptroot /               ext4    
relatime,user_xattr,errors=remount-ro 0       1
# /home was on /dev/sda7 during installation
/dev/sda5 /boot           ext4    defaults        0       2
/dev/mapper/home /home           ext4    defaults        0       2
/dev/mapper/swap       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0

-- lsmod
Module                  Size  Used by
xt_limit               12484  8 
xt_tcpudp              12471  7 
ipt_LOG                12533  8 
ipt_MASQUERADE         12530  0 
xt_DSCP                12491  0 
ipt_REJECT             12425  1 
nf_conntrack_irc       12395  0 
nf_conntrack_ftp       12508  0 
xt_state               12455  6 
ppdev                  12621  0 
lp                     12858  0 
bnep                   17147  2 
rfcomm                 31961  0 
bluetooth              92361  10 bnep,rfcomm
acpi_cpufreq           12737  1 
mperf                  12387  1 acpi_cpufreq
cpufreq_conservative    12987  0 
vboxnetadp             13146  0 
cpufreq_userspace      12520  0 
vboxnetflt             23683  0 
cpufreq_stats          12711  0 
cpufreq_powersave      12422  0 
vboxdrv               154090  2 vboxnetadp,vboxnetflt
binfmt_misc            12778  1 
uinput                 12984  1 
fuse                   55666  3 
iptable_nat            12800  0 
nf_nat                 17733  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      13649  9 iptable_nat,nf_nat
nf_conntrack           42465  7 
ipt_MASQUERADE,nf_conntrack_irc,nf_conntrack_ftp,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4         12443  1 nf_conntrack_ipv4
iptable_mangle         12488  0 
iptable_filter         12488  1 
ip_tables              16998  3 iptable_nat,iptable_mangle,iptable_filter
x_tables               17969  11 
xt_limit,xt_tcpudp,ipt_LOG,ipt_MASQUERADE,xt_DSCP,ipt_REJECT,xt_state,iptable_nat,iptable_mangle,iptable_filter,ip_tables
loop                   17777  0 
snd_hda_codec_hdmi     21870  1 
snd_hda_codec_idt      44351  1 
arc4                   12418  2 
ecb                    12649  2 
iwlagn                150691  0 
i915                  286502  3 
snd_hda_intel          21529  4 
snd_hda_codec          57741  3 
snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep              12906  1 snd_hda_codec
mac80211              164606  1 iwlagn
snd_pcm                52731  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq                39172  0 
snd_timer              22171  2 snd_pcm,snd_seq
snd_seq_device         12995  1 snd_seq
drm_kms_helper         26550  1 i915
snd                    38189  16 
snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
dell_wmi               12437  0 
drm                   129190  4 i915,drm_kms_helper
i2c_algo_bit           12706  1 i915
i2c_i801               12670  0 
dell_laptop            12740  0 
soundcore              12878  1 snd
video                  17345  1 i915
parport_pc             21895  0 
cfg80211              107076  2 iwlagn,mac80211
sparse_keymap          12680  1 dell_wmi
snd_page_alloc         12841  2 snd_hda_intel,snd_pcm
i2c_core               19022  5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
rfkill                 18510  5 bluetooth,dell_laptop,cfg80211
battery                12957  0 
dcdbas                 13080  1 dell_laptop
wmi                    13018  1 dell_wmi
evdev                  13084  17 
processor              26983  5 acpi_cpufreq
button                 12783  1 i915
ac                     12552  0 
pcspkr                 12515  0 
parport                27018  3 ppdev,lp,parport_pc
psmouse                45863  0 
serio_raw              12758  0 
power_supply           13283  3 dell_laptop,battery,ac
ext4                  270998  3 
mbcache                12810  1 ext4
jbd2                   55701  1 ext4
crc16                  12327  2 bluetooth,ext4
sha256_generic         16709  6 
aesni_intel            17505  146 
cryptd                 14071  49 aesni_intel
aes_i586               16608  1 aesni_intel
aes_generic            37066  2 aesni_intel,aes_i586
cbc                    12659  0 
dm_crypt               17809  3 
dm_mod                 56401  7 dm_crypt
sg                     21385  0 
sd_mod                 35060  5 
sr_mod                 17418  0 
cdrom                  34631  1 sr_mod
crc_t10dif             12332  1 sd_mod
ahci                   20897  4 
ehci_hcd               34885  0 
libahci                22200  1 ahci
thermal                13058  0 
libata                132100  2 ahci,libahci
sdhci_pci              13000  0 
sdhci                  21405  1 sdhci_pci
mmc_core               56896  1 sdhci
thermal_sys            17667  3 video,processor,thermal
scsi_mod              134453  4 sg,sr_mod,sd_mod,libata
usbcore                99225  2 ehci_hcd
e1000e                112794  0 


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

Kernel: Linux 2.6.39-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  debconf [debconf-2.0]        1.5.40      Debian configuration management sy
ii  dmsetup                      2:1.02.63-3 The Linux Kernel Device Mapper use
ii  libc6                        2.13-7      Embedded GNU C Library: Shared lib
ii  libcryptsetup1               2:1.3.0-3   libcryptsetup shared library
ii  libpopt0                     1.16-1      lib for parsing cmdline parameters

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                       1:1.18.4-2 Tiny utilities for small and embed
ii  dosfstools                    3.0.9-1    utilities for making and checking 
ii  initramfs-tools [linux-initra 0.99       tools for generating an initramfs
ii  liblocale-gettext-perl        1.05-6+b1  Using libc functions for internati
ii  udev                          171-3      /dev/ and hotplug management daemo

-- debconf information:
  cryptsetup/prerm_active_mappings: true



--- End Message ---
--- Begin Message ---
Source: cryptsetup
Source-Version: 2:1.4.1-1

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.4.1-1_amd64.udeb
  to main/c/cryptsetup/cryptsetup-udeb_1.4.1-1_amd64.udeb
cryptsetup_1.4.1-1.debian.tar.gz
  to main/c/cryptsetup/cryptsetup_1.4.1-1.debian.tar.gz
cryptsetup_1.4.1-1.dsc
  to main/c/cryptsetup/cryptsetup_1.4.1-1.dsc
cryptsetup_1.4.1-1_amd64.deb
  to main/c/cryptsetup/cryptsetup_1.4.1-1_amd64.deb
cryptsetup_1.4.1.orig.tar.bz2
  to main/c/cryptsetup/cryptsetup_1.4.1.orig.tar.bz2
libcryptsetup-dev_1.4.1-1_amd64.deb
  to main/c/cryptsetup/libcryptsetup-dev_1.4.1-1_amd64.deb
libcryptsetup4-udeb_1.4.1-1_amd64.udeb
  to main/c/cryptsetup/libcryptsetup4-udeb_1.4.1-1_amd64.udeb
libcryptsetup4_1.4.1-1_amd64.deb
  to main/c/cryptsetup/libcryptsetup4_1.4.1-1_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: Sun, 05 Feb 2012 03:17:59 +0100
Source: cryptsetup
Binary: cryptsetup libcryptsetup4 libcryptsetup-dev cryptsetup-udeb 
libcryptsetup4-udeb
Architecture: source amd64
Version: 2:1.4.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian Cryptsetup Team 
<[email protected]>
Changed-By: Jonas Meurer <[email protected]>
Description: 
 cryptsetup - disk encryption support - commandline tools
 cryptsetup-udeb - disk encryption support - commandline tools (udeb) (udeb)
 libcryptsetup-dev - disk encryption support - development files
 libcryptsetup4 - disk encryption support - shared library
 libcryptsetup4-udeb - disk encryption support - shared library (udeb) (udeb)
Closes: 591853 597583 633105 634017 634109 638257 638317 640056 641719 641839 
641947 642147 642470 642540 643633 643962 644853 645528 646083 647851 648192 
648868 654676 656933 658360
Changes: 
 cryptsetup (2:1.4.1-1) unstable; urgency=low
 .
   * new upstream release (1.4.0 + 1.4.1) (closes: #647851)
     - fixes typo in german translation. (closes: #645528)
     - remove patches, all incorporated upstream.
     - soname bump, rename library package to libcryptsetup4
   * check for busybox in initramfs cryptroot hook, and install the sed binary
     in case it's either not installed or not activated. (closes: #591853)
   * add checks for 'type $KEYSCRIPT' to initscripts cryptdisks.functions, and
     to cryptroot initramfs script/hook. this adds support for keyscripts inside
     $PATH. thanks to Ian Jackson for the suggestion. (closes: #597583)
   * use argument '--sysinit' for vgchange in cryptroot initramfs script. Thanks
     to Christoph Anton Mitterer for the suggestion.
   * add option for discard/trim features to crypttab and initramfs scripts.
     Thanks to intrigeri and Peter Colberg for patches. (closes: #648868)
   * print $target on error in initramfs hook. Thanks to Daniel Hahler for the
     bugreport. (closes: #648192)
   * add a warning about using decrypt_derived keyscript for devices with
     persistent data. Thanks to Arno Wagner for pointing this out.
   * remove quotes from resume device candidates at get_resume_devs() in
     initramfs hook script. Thanks to Johannes Rohr. (closes: #634017)
   * support custom $TABFILE, thanks to Douglas Huff. (closes: #638317)
   * fix get_lvm_deps() in initramfs cryptroot hook to add all physical volumes
     of lvm volume group that contains the rootfs logical volume, even if the
     rootfs is lv is not spread over all physical volumes. Thanks to Christian
     Pernegger for bugreport and patch. (closes: #634109)
   * debian/initramfs/cryptroot-script: Move check for maximum number of tries
     behind the while loop, to make the warning appear in case that maximum
     number of tries is reached. Thanks to Chistian Lamparter for bugreport and
     patch. (closes: #646083)
   * incorporate changes to package descriptions and debconf templates that
     suggested by debian-l10n-english people. Special thanks go to Justin B Rye.
   * acknowledge NMU, thanks a lot to Christian Perrier for his great work on
     the i18n front. (closes: #633105, #641719, #641839, #641947, #642470,
     #640056, #642540, #643633, #643962, #644853)
   * add and update debconf translations:
     - italian, thanks to Milo Casagrande, Francesca Ciceri. (closes: #656933)
     - german, thanks to Erik Pfannenstein. (closes: #642147)
     - spanish, thanks to Camaleón. (closes: #658360)
     - russian, thanks to Yuri Kuzlov (closes: #654676)
   * set architecture to linux-any, depends on linux kernel anyway. Thanks to
     Christoph Egger. (closes: #638257)
   * small updates to the copyright file.
   * add targets build-indep and build-arch to debian/rules, thanks to lintian.
Checksums-Sha1: 
 d8aa53c16c60d5f392232b12af16c20b736c92d1 2483 cryptsetup_1.4.1-1.dsc
 32608be5b146a7bd3999129b086bad8b66c085b9 772971 cryptsetup_1.4.1.orig.tar.bz2
 f29a9c8c45ee38fe7c498699a94d85e4c4126d27 89477 cryptsetup_1.4.1-1.debian.tar.gz
 ad540d0fb5a235e7135db19e1bf1a3a37beb6d40 210348 cryptsetup_1.4.1-1_amd64.deb
 817571c240288d4f8360595c57a253cf4de42cbd 89538 libcryptsetup4_1.4.1-1_amd64.deb
 b2eed63ed581b24a55560121a0babc8e20dd94f6 49366 
libcryptsetup-dev_1.4.1-1_amd64.deb
 ec85722f4c27bcac95057e97e8a8816d7bd7c7fd 35952 
cryptsetup-udeb_1.4.1-1_amd64.udeb
 2b9834bbadab2c06a51f8af72d6f5a76aa30a3e0 47360 
libcryptsetup4-udeb_1.4.1-1_amd64.udeb
Checksums-Sha256: 
 edc3177f0b88ca1b8817e9089a81caa7378cfea8e45741d5c8c3ee167f06c136 2483 
cryptsetup_1.4.1-1.dsc
 82b143328c2b427ef2b89fb76c701d311c95b54093c21bbf22342f7b393bddcb 772971 
cryptsetup_1.4.1.orig.tar.bz2
 84fd7fcf2328d515677744baf7d3993c4bddc2ea43ec3c22d6d1419ed170f1ca 89477 
cryptsetup_1.4.1-1.debian.tar.gz
 08e24d874abcca6d70f1b0bb7170d049430ea75d0cead65967621cba1bbdfe94 210348 
cryptsetup_1.4.1-1_amd64.deb
 28a0d19d9e8d7e602eae6a91fbc6776bafd6028ebdcf1f093cedc7006a18afc5 89538 
libcryptsetup4_1.4.1-1_amd64.deb
 cad3b8b4377169be7d086c4f2cf1e9f9b0955e47083768113c93f5e1a3af5124 49366 
libcryptsetup-dev_1.4.1-1_amd64.deb
 90c140170b76a4c6bb26ae6daf5ba2f3fae4d6c639976bd346491f90c120c02a 35952 
cryptsetup-udeb_1.4.1-1_amd64.udeb
 e295fac16c1f5c79672479c28716721eb5991c81127995a89704941bd79171de 47360 
libcryptsetup4-udeb_1.4.1-1_amd64.udeb
Files: 
 14602ebf03e68346433f3119c40ed978 2483 admin optional cryptsetup_1.4.1-1.dsc
 9253b3f29abf5c6f333eb74128b0df1c 772971 admin optional 
cryptsetup_1.4.1.orig.tar.bz2
 13e029d1aba33ff343b2b5295a3f6145 89477 admin optional 
cryptsetup_1.4.1-1.debian.tar.gz
 bd9ce6dd3d82e79fc14be85883a75545 210348 admin optional 
cryptsetup_1.4.1-1_amd64.deb
 5deafd2ce02e33d8aac3136eecfe77fd 89538 libs optional 
libcryptsetup4_1.4.1-1_amd64.deb
 6abab27749a5f47543cc40ec46136597 49366 libdevel optional 
libcryptsetup-dev_1.4.1-1_amd64.deb
 bb9f39a198e385e3445fd38b71e1b6a2 35952 debian-installer optional 
cryptsetup-udeb_1.4.1-1_amd64.udeb
 616ed17b60621a69bdeec4d2e53ee3be 47360 debian-installer optional 
libcryptsetup4-udeb_1.4.1-1_amd64.udeb

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

iQIcBAEBAgAGBQJPLej7AAoJEFJi5/9JEEn+RywP/jb8EKRNK6kBcRPvlrT4NeCM
gC2VimsY1/06y8tFBTgKhdSOy/YOF4a22yCRZUHOmCzVgS1kwi7fIx3cYaYw9yIU
cK70b0m8RjpU7VnEdRCd7//4BaWff+uDag6oq03YNUmyRJbb+EE9757JyEEnmS4c
uU+aDCy+bOyVJEeXXafRvjUHwS69brBT9+6QifYVR2wMa/1Aitxs+QqQRn88BNhM
dzyusE1W4N368RWQBjwtKTUc3vf7l6d+6jM6Jyh1ARZjG4drFccZFb1lFAY+9+8f
eI3F2r7YkPIVUcWmDKRJlwBPzG+7t+YgSgCTaygbo3pQEx7mIQsjBUnnynbtoGmQ
yHBlyY5NXt0DTlS0iaoCdtreziiGk81Dg3hs3z+6Oj3WnJwbtZEx3xQAMGmNVgOS
JVvhFqi8C7mU3TX0I7j2nm+Qs14b7JrGUAnLQXT4LtsPhtrorj7WYtxj4tRPQDYU
D8QqNFehCl9zUmk9f1EqT+vFfWEBE9B+yyEe0rzc+xRDAn6A5zI/WRqxRG1cbqoN
xndYzpWx6M2QzcZ8/5QnTsA9nkPO6UB9ui/Zpjml2I9CBtTubkj+q8CRPF0MPKpx
9fvKNje0//g+sbSMUEHSRdPbZfQiVlSEYs0KjInb6RoXFKru0dz3IDsz96F9TX54
coIDmtayOQdiLdriWH6V
=OMpo
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to