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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org