Package: cryptsetup Version: 2:1.4.1-3 Severity: normal Tags: upstream patch
Hi, this is a bug I've originally submitted[1] to upstream. What steps will reproduce the problem? 1. Make a LUKS device with at least one slot 2. # cryptsetup luksKillSlot /dev/sdd 0 What is the expected output? What do you see instead? Success is excepted. Instead I can see: Enter any remaining LUKS passphrase: Cannot wipe device /dev/sdd. Upstream has fixed this in commit[2]: 490c17b3cd406f5c5f7650b78d52d544620837ca Changelog entry: 2012-05-09 Milan Broz <gm...@gmail.com> * Fix keyslot removal (wipe keyslot) for device with 4k hw block (1.4.0). [1] http://code.google.com/p/cryptsetup/issues/detail?id=129 [2] http://code.google.com/p/cryptsetup/source/detail?r=490c17b3cd406f5c5f7650b78d52d544620837ca# -- Package-specific info: -- /proc/cmdline BOOT_IMAGE=/vmlinuz-3.2.0-2-686-pae root=/dev/mapper/root_crypt ro quiet -- /etc/crypttab root_crypt UUID=f2bb7c5f-64de-470c-a4d5-1ea79e658de5 none luks storage_crypt UUID=2a701c10-e89c-44b7-8c80-4809e921fb3a none luks home_crypt UUID=320dc367-dda3-47d0-8c71-435b6497caa8 none luks -- /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 /dev/mapper/root_crypt / ext4 relatime,errors=remount-ro 0 1 UUID=c6076366-2156-4f71-aea8-62cae7262385 /boot ext4 relatime 0 2 /dev/mapper/home_crypt /home ext4 relatime 0 2 /dev/mapper/storage_crypt /srv/storage ext4 relatime 0 2 wodny-tmpfs /home/wodny/tmp tmpfs size=256m 0 0 -- lsmod Module Size Used by acpi_cpufreq 12807 0 mperf 12421 1 acpi_cpufreq cpufreq_powersave 12422 0 cpufreq_stats 12762 0 cpufreq_userspace 12520 0 cpufreq_conservative 12987 0 parport_pc 22036 0 ppdev 12651 0 lp 12797 0 parport 31254 3 lp,ppdev,parport_pc bnep 17288 2 rfcomm 28590 10 uinput 12991 1 ip6table_filter 12492 1 ip6_tables 17185 1 ip6table_filter xt_conntrack 12601 2 iptable_filter 12488 1 iptable_nat 12800 0 nf_nat 17924 1 iptable_nat nf_conntrack_ipv4 13726 5 nf_nat,iptable_nat nf_defrag_ipv4 12443 1 nf_conntrack_ipv4 nf_conntrack 43121 4 nf_conntrack_ipv4,nf_nat,iptable_nat,xt_conntrack iptable_mangle 12488 0 iptable_raw 12476 0 ip_tables 17079 4 iptable_raw,iptable_mangle,iptable_nat,iptable_filter x_tables 18121 8 ip_tables,iptable_raw,iptable_mangle,iptable_nat,iptable_filter,xt_conntrack,ip6_tables,ip6table_filter loop 17810 0 snd_hda_codec_realtek 142180 1 snd_usb_audio 71309 1 arc4 12418 2 snd_usbmidi_lib 18844 1 snd_usb_audio rt2800pci 13565 0 snd_seq_midi 12744 0 snd_seq_midi_event 13124 1 snd_seq_midi snd_hda_intel 21856 3 rt2800lib 39121 1 rt2800pci snd_rawmidi 18376 2 snd_seq_midi,snd_usbmidi_lib snd_hda_codec 63477 2 snd_hda_intel,snd_hda_codec_realtek rt2x00pci 12768 1 rt2800pci rt2x00lib 33268 3 rt2x00pci,rt2800lib,rt2800pci snd_hwdep 12943 2 snd_hda_codec,snd_usb_audio eeprom_93cx6 12423 1 rt2800pci i915 307595 2 snd_pcm 53390 6 snd_hda_codec,snd_hda_intel,snd_usb_audio mac80211 171359 3 rt2x00lib,rt2x00pci,rt2800lib snd_page_alloc 12867 2 snd_pcm,snd_hda_intel snd_seq 39487 2 snd_seq_midi_event,snd_seq_midi cfg80211 117454 2 mac80211,rt2x00lib snd_seq_device 13016 3 snd_seq,snd_rawmidi,snd_seq_midi uvcvideo 56896 0 btusb 17278 2 iTCO_wdt 16945 0 eeepc_laptop 18155 0 snd_timer 22356 2 snd_seq,snd_pcm drm_kms_helper 22699 1 i915 iTCO_vendor_support 12632 1 iTCO_wdt videodev 61658 1 uvcvideo crc_ccitt 12331 1 rt2800lib bluetooth 103750 23 btusb,rfcomm,bnep snd 42691 16 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_rawmidi,snd_hda_intel,snd_usbmidi_lib,snd_usb_audio,snd_hda_codec_realtek drm 134178 3 drm_kms_helper,i915 media 13692 2 videodev,uvcvideo psmouse 54927 0 i2c_i801 12670 0 soundcore 12921 1 snd sparse_keymap 12680 1 eeepc_laptop pcspkr 12515 0 serio_raw 12803 0 rng_core 12580 0 i2c_algo_bit 12713 1 i915 joydev 17010 0 evdev 17225 22 i2c_core 19116 6 i2c_algo_bit,i2c_i801,drm,videodev,drm_kms_helper,i915 ac 12552 0 rfkill 18516 4 bluetooth,eeepc_laptop,cfg80211 battery 12957 0 power_supply 13283 2 battery,ac video 17412 1 i915 processor 27522 1 acpi_cpufreq button 12817 1 i915 ext4 302745 4 crc16 12327 2 ext4,bluetooth jbd2 52246 1 ext4 mbcache 12897 1 ext4 sha256_generic 16709 6 cryptd 14125 0 aes_i586 16608 14 aes_generic 32970 1 aes_i586 cbc 12666 6 usbhid 31523 0 hid 60120 1 usbhid usb_storage 35142 1 uas 13096 0 dm_crypt 18039 3 dm_mod 57278 7 dm_crypt sd_mod 35425 7 crc_t10dif 12332 1 sd_mod ata_generic 12439 0 ata_piix 21175 3 libata 124981 2 ata_piix,ata_generic scsi_mod 135194 4 libata,sd_mod,uas,usb_storage thermal 13103 0 thermal_sys 17752 3 thermal,processor,video uhci_hcd 22337 0 ehci_hcd 35509 0 usbcore 104352 10 ehci_hcd,uhci_hcd,uas,usb_storage,usbhid,btusb,uvcvideo,snd_usbmidi_lib,snd_usb_audio atl1e 27336 0 usb_common 12338 1 usbcore -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (600, 'testing'), (500, 'stable-updates'), (500, 'stable'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (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/dash Versions of packages cryptsetup depends on: ii debconf [debconf-2.0] 1.5.42 ii dmsetup 2:1.02.67-2 ii libc6 2.13-32 ii libcryptsetup4 2:1.4.1-3 ii libpopt0 1.16-3 cryptsetup recommends no packages. Versions of packages cryptsetup suggests: ii busybox 1:1.19.3-7 ii dosfstools 3.0.12-1 ii initramfs-tools [linux-initramfs-tool] 0.102 ii liblocale-gettext-perl 1.05-7+b1 ii udev 175-3.1 -- 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