Your message dated Sat, 10 Jul 2010 13:17:09 +0000
with message-id <[email protected]>
and subject line Bug#581712: fixed in cryptsetup 2:1.1.3-1
has caused the Debian Bug report #581712,
regarding [cryptsetup] cryptdisks_start fail to remove loop device after MAX 
passphrase tries.
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.)


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

--- Please enter the report below this line. ---
If i enter wrong passphrase it doesnt remove loop device.

I think the problem is in cryptdisks.functions

rm_lo_setup () {
    if [ ! -f "$src" ]; then
        return 0
    fi

    if [ -n "$loopdev" ]; then
        losetup -d "$loopdev" || return 1
    fi
    return 0
}

should probably be:

rm_lo_setup () {
    if [ ! -b "$src" ]; then
        return 0
    fi

    if [ -n "$loopdev" ]; then
        losetup -d "$loopdev" || return 1
    fi
    return 0
}

but maybe it needs some more love.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.32-3-686

Debian Release: squeeze/sid
  900 testing         ftp.sunet.se 
  900 testing         ftp.se.debian.org 
  600 unstable        ftp.se.debian.org 
  500 stable          dl.google.com 

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-===============
libc6                        (>= 2.3) | 2.10.2-6
libdevmapper1.02.1     (>= 2:1.02.24) | 2:1.02.45-1
libpopt0                    (>= 1.15) | 1.15-1
libuuid1                    (>= 2.16) | 2.16.2-0
dmsetup                               | 2:1.02.45-1


Package's Recommends field is empty.

Suggests                  (Version) | Installed
===================================-+-===========
udev                                | 153-2
initramfs-tools          (>= 0.91)  | 0.93.4
 OR linux-initramfs-tool            | 
dosfstools                          | 3.0.9-1



--- Output from package bug script ---
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-3-686 
root=UUID=5cb08141-4232-4d6d-ba1f-a8db4f239fec ro quiet quiet 
rootflags=data=writeback commit=100 nobh

-- /etc/crypttab
# <target name> <source device>         <key file>      <options>
keys            /mnt/secure/key.img     none            
cipher=aes-cbc-essiv:sha256,size=256,hash=sha256,luks,tries=2,keyscript=/mnt/secure/scripts/askpass.pl

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>      <options>                           
                   <dump>  <pass>
proc            /proc           proc        defaults                            
                                                            0       0
UUID=5cb08141-4232-4d6d-ba1f-a8db4f239fec   /               ext3        
noatime,errors=remount-ro,data=writeback                            0       1
UUID=20b1e5c9-4c4f-4f2f-b5a5-8dd0ac46236c   none            swap        sw      
                                                            0       0

##
# /dev/hda        /media/cdrom0   udf,iso9660 user,noauto                       
                                                            0       0
##

##
# /dev/fd0        /media/floppy0  auto        rw,user,noauto                    
                                                              0       0
##

# crypt device
/dev/mapper/keys    /mnt/secure/keys    ext3    noauto,defaults     0   0

-- lsmod
Module                  Size  Used by
sha256_generic         10748  0 
aes_i586                6816  0 
aes_generic            25738  1 aes_i586
cbc                     2047  0 
dm_crypt                9127  0 
dm_mod                 46074  1 dm_crypt
vboxnetadp              5154  0 
vboxnetflt             10202  0 
vboxdrv               114837  2 vboxnetadp,vboxnetflt
nls_utf8                 908  1 
ntfs                  163909  0 
fglrx                2049464  40 
powernow_k8             9788  0 
cpufreq_powersave        602  0 
cpufreq_stats           1940  0 
cpufreq_conservative     4018  0 
cpufreq_userspace       1476  0 
act_police              2968  0 
cls_flow                4836  0 
cls_fw                  2733  0 
cls_u32                 4706  0 
sch_htb                10423  0 
sch_hfsc               13150  0 
sch_ingress             1092  0 
sch_sfq                 3870  0 
xt_time                 1391  0 
xt_connlimit            2323  0 
xt_realm                 615  0 
iptable_raw             1471  0 
xt_comment               599  19 
xt_recent               4905  0 
xt_policy               1794  0 
ipt_ULOG                4645  8 
ipt_REJECT              1517  4 
ipt_REDIRECT             803  0 
ipt_NETMAP               825  0 
ipt_MASQUERADE          1134  1 
ipt_ECN                 1276  0 
ipt_ecn                  928  0 
ipt_CLUSTERIP           3982  0 
ipt_ah                   749  0 
ipt_addrtype            1345  3 
nf_nat_tftp              702  0 
nf_nat_snmp_basic       6381  0 
nf_nat_sip              4440  0 
nf_nat_pptp             1702  0 
nf_nat_proto_gre         869  1 nf_nat_pptp
nf_nat_irc              1002  0 
nf_nat_h323             4391  0 
nf_nat_ftp              1519  0 
nf_nat_amanda            828  0 
ts_kmp                  1287  5 
nf_conntrack_amanda     1637  1 nf_nat_amanda
nf_conntrack_sane       2672  0 
nf_conntrack_tftp       2321  1 nf_nat_tftp
nf_conntrack_sip       10718  1 nf_nat_sip
nf_conntrack_proto_sctp     4754  0 
nf_conntrack_pptp       3077  1 nf_nat_pptp
nf_conntrack_proto_gre     2831  1 nf_conntrack_pptp
nf_conntrack_netlink    11048  0 
nf_conntrack_netbios_ns      914  0 
nf_conntrack_irc        2531  1 nf_nat_irc
nf_conntrack_h323      30924  1 nf_nat_h323
nf_conntrack_ftp        4272  1 nf_nat_ftp
xt_TPROXY                977  0 
nf_tproxy_core          1221  1 xt_TPROXY,[permanent]
xt_tcpmss               1017  0 
xt_pkttype               683  0 
xt_physdev              1228  0 
xt_owner                 747  0 
xt_NFQUEUE              1565  0 
xt_NFLOG                 718  0 
nfnetlink_log           5644  1 xt_NFLOG
xt_multiport            1775  4 
xt_MARK                  617  1 
xt_mark                  613  0 
xt_mac                   675  0 
xt_limit                1088  1 
xt_length                796  0 
xt_iprange              1049  0 
xt_helper                879  0 
xt_hashlimit            6157  0 
xt_DSCP                 1451  4 
xt_dscp                 1123  0 
xt_dccp                 1507  0 
xt_conntrack            1955  0 
xt_CONNMARK              943  0 
xt_connmark              799  0 
xt_CLASSIFY              617  0 
ipt_LOG                 3570  0 
xt_tcpudp               1743  32 
xt_state                 927  14 
iptable_nat             3551  1 
nf_nat                 10568  12 
ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat
nf_conntrack_ipv4       7597  17 iptable_nat,nf_nat
nf_defrag_ipv4           779  2 xt_TPROXY,nf_conntrack_ipv4
nf_conntrack           38063  31 
xt_connlimit,ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_sane,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle          2325  1 
nfnetlink               1798  2 nf_conntrack_netlink,nfnetlink_log
iptable_filter          1790  1 
ip_tables               7690  4 
iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables                8327  44 
xt_time,xt_connlimit,xt_realm,xt_comment,xt_recent,xt_policy,ipt_ULOG,ipt_REJECT,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_TPROXY,xt_tcpmss,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,ipt_LOG,xt_tcpudp,xt_state,iptable_nat,ip_tables
fuse                   43750  3 
tun                     8760  1 
it87                   11447  0 
hwmon_vid               1528  1 it87
loop                    9753  1 
snd_hda_codec_atihdmi     1687  1 
snd_hda_codec_realtek   163098  1 
snd_hda_intel          16427  3 
snd_hda_codec          46002  3 
snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               4054  1 snd_hda_codec
snd_pcm_oss            28671  0 
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47362  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            3576  0 
snd_rawmidi            12505  1 snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
snd_seq                35459  2 snd_seq_midi,snd_seq_midi_event
snd_timer              12258  2 snd_pcm,snd_seq
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    34363  17 
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
soundcore               3450  1 snd
snd_page_alloc          5041  2 snd_hda_intel,snd_pcm
i2c_piix4               7076  0 
i2c_core               12648  1 i2c_piix4
psmouse                44413  0 
pcspkr                  1207  0 
serio_raw               2916  0 
evdev                   5609  10 
processor              26571  1 powernow_k8
ext3                   94192  1 
jbd                    32161  1 ext3
mbcache                 3762  1 ext3
ide_cd_mod             21076  0 
usbhid                 27888  0 
hid                    50657  1 usbhid
cdrom                  26487  1 ide_cd_mod
sd_mod                 25781  3 
crc_t10dif              1012  1 sd_mod
ata_generic             2015  0 
usb_storage            29805  0 
ohci_hcd               16904  0 
ide_pci_generic         1924  0 
r8169                  24784  0 
firewire_ohci          16509  0 
firewire_core          31139  1 firewire_ohci
mii                     2714  1 r8169
crc_itu_t               1035  1 firewire_core
ahci                   26966  2 
libata                114408  2 ata_generic,ahci
button                  3598  0 
scsi_mod              101297  3 sd_mod,usb_storage,libata
ehci_hcd               27574  0 
atiixp                  1848  0 
ide_core               64146  3 ide_cd_mod,ide_pci_generic,atiixp
usbcore                98126  5 usbhid,usb_storage,ohci_hcd,ehci_hcd
nls_base                4541  3 nls_utf8,ntfs,usbcore
ati_agp                 3966  0 
agpgart                19516  2 fglrx,ati_agp
thermal                 9206  0 
fan                     2586  0 
thermal_sys             9378  3 processor,thermal,fan




--- End Message ---
--- Begin Message ---
Source: cryptsetup
Source-Version: 2:1.1.3-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.1.3-1_amd64.udeb
  to main/c/cryptsetup/cryptsetup-udeb_1.1.3-1_amd64.udeb
cryptsetup_1.1.3-1.debian.tar.gz
  to main/c/cryptsetup/cryptsetup_1.1.3-1.debian.tar.gz
cryptsetup_1.1.3-1.dsc
  to main/c/cryptsetup/cryptsetup_1.1.3-1.dsc
cryptsetup_1.1.3-1_amd64.deb
  to main/c/cryptsetup/cryptsetup_1.1.3-1_amd64.deb
cryptsetup_1.1.3.orig.tar.bz2
  to main/c/cryptsetup/cryptsetup_1.1.3.orig.tar.bz2
libcryptsetup-dev_1.1.3-1_amd64.deb
  to main/c/cryptsetup/libcryptsetup-dev_1.1.3-1_amd64.deb
libcryptsetup1_1.1.3-1_amd64.deb
  to main/c/cryptsetup/libcryptsetup1_1.1.3-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: SHA256

Format: 1.8
Date: Sat, 10 Jul 2010 14:32:40 +0200
Source: cryptsetup
Binary: cryptsetup cryptsetup-udeb libcryptsetup1 libcryptsetup-dev
Architecture: source amd64
Version: 2:1.1.3-1
Distribution: unstable
Urgency: low
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 575024 575652 576646 581712 585099 585418 585496 585664 585787 
586019 586122 586162 586299 587220 587222 587224 588068
Changes: 
 cryptsetup (2:1.1.3-1) unstable; urgency=low
 .
   * new upstream release:
     - fix device alignment ioctl calls parameters for archs like ppc64.
     - fix activate_by_* API calls to handle NULL device name as documented
     - fix udev support for old libdevmapper with not compatible definition
   * fix rm_lo_setup() in cryptdisks.functions for failed device setup. thanks
     to Roger Pettersson. (closes: #581712)
   * add X-Stop-After headers to cryptdisks(-early) initscripts. this fixes
     shutdown process for system without encrypted rootfs at least. thanks to
     Alfredo Finelli. (closes: #575652)
   * more merges from ubuntu, thanks to and Steve Langasek (closes: #575024):
     - debian/cryptdisk.functions: initially create the device under a temporary
       name and rename it only at the end using 'dmsetup rename', to ensure that
       upstart/mountall doesn't see our device before it's ready to go.
       LP: #475936.
     - cryptdisks.functions: do_tmp should mount under /var/run/cryptsetup for
       changing the permissions of the filesystem root, not directly on /tmp,
       since mounting on /tmp a) is racy, b) confuses mountall something fierce.
       LP: #475936.
   * fix manpage checkscripts documentation. clarify that both cryptdisks and
     cryptroot invoke checkscripts. thanks Christoph Anton Mitterer.
   * remove quotes from $KEYSCRIPT invokation, thanks Alexandre Rossi.
     (closes: #585099)
   * fix support for commandline options to mkfs in luksformat. thanks to Eduard
     Bloch again for bugreport and patch. (closes: #585787)
   * remove duplicates from debian/NEWS, thanks Steve Langasek (closes: 586019)
   * improve documentation on environment variables in cryptdisks.default and
     crypttab manpage. thanks Christoph Anton Mitterer. (closes: #585664)
   * several improvements to (pre)check scripts, inspired by scripts from
     Christoph Anton Mitterer (closes: #585418, #585496)
     - checkscripts exit with error 1 if executables aren't available.
     - ext2, swap and xfs scripts are depreciated and invoke blkid script.
     - drop filtering of minix filesystem in blkid, util-linux 2.17.2 in debian
     - remove *vol_id check scripts, vol_id isn't available in debian any longer
     - don't use sed in *blkid check scripts any longer
   * fix initramfs/cryptroot-hook to canonicalize $device in get_resume_devices
     function. this should really weed out all duplicates. (closes: #586122),
     and catch all udev/device-mapper symlink setups as well (closes: #554506)
   * bash-completion file now in pck bash-completion (closes: #586299, #586162)
   * add a paragraph about the boot order of init scripts to README.Debian,
     describing the current catch-22 situation. (closes: #576646)
   * initscripts and cryptdisks_st* no longer silently quit in case that include
     file /lib/cryptsetup/cryptdisks.functions is missing. (closes: #587220)
   * fix cryptdisks-early LSB headers to restore legacy boot sequence order.
     mdadm-raid was started before cryptdisks-early. (closes: #587224)
   * cryptdisks initscript now raises a warning for failed started devices, and
     cryptdisks-early initscript raises a warning for failed stopped devices.
     this makes the initscript actions far more transparent to users. same holds
     for cryptdisks_st*. thanks to Christoph Anton Mitterer. (closes: #587222)
   * remove lintian overrides init.d-script-should-depend-on-virtual-facility
     as lintian lintian 2.4.2 has fixed #580082.
   * bump standards-version to 3.9.0, remove version information from replaces/
     provides/conflicts against cryptsetup-luks, change conflicts against
     hashalot (<= 0.3-1) to breaks hashalot (<< 0.3-1) and add replaces.
   * fix loads of typos, thanks to Christoph Anton Mitterer. (closes: #588068)
   * update copyright years and list Milan Broz in debian/copyright
Checksums-Sha1: 
 f423776f6297d4c1779fa79e3a1179d7e1a3711f 1844 cryptsetup_1.1.3-1.dsc
 6f8a4c9a80a0d25f8492dfce6db6abed221598f6 499276 cryptsetup_1.1.3.orig.tar.bz2
 87499331d74cc6672eab9d730929753e283e18f2 73036 cryptsetup_1.1.3-1.debian.tar.gz
 d3bbc36144059e8711ebccaa88de190cd035d4f7 412762 cryptsetup_1.1.3-1_amd64.deb
 c9fb3b0ce7a28147a79097a411a711194805ef6a 297470 
cryptsetup-udeb_1.1.3-1_amd64.udeb
 588ddce1f21b5f61db3f3d084e2b10db8ecb7f2d 77078 libcryptsetup1_1.1.3-1_amd64.deb
 91036332b4dde0a3e7e83f7fc5003943433cc6e2 41072 
libcryptsetup-dev_1.1.3-1_amd64.deb
Checksums-Sha256: 
 3fa939def9bc5d6d55fdf4294c97427cd44df3b0edc90de0c7e0387514828fb6 1844 
cryptsetup_1.1.3-1.dsc
 9c8e68a272f6d9cfb6cd65cc0743f4c44a2096c61f74e0602bf40208b5e69c0a 499276 
cryptsetup_1.1.3.orig.tar.bz2
 192bb74e169255be98f5aed7105c80d9da681728b632b81957b1943f7ad39bdd 73036 
cryptsetup_1.1.3-1.debian.tar.gz
 0a6d759643b073fb52723d27e216922b2e1905ea54840faa90d40297210ebe3b 412762 
cryptsetup_1.1.3-1_amd64.deb
 2379a71e6cbb10be65c5051b7b20b839f39a8d3231026db21468c6de37656a05 297470 
cryptsetup-udeb_1.1.3-1_amd64.udeb
 ac4a84e4703c7c944ac7782c5cd7c169bac32ab8d521ca53d7aeb1c76d9dfc39 77078 
libcryptsetup1_1.1.3-1_amd64.deb
 9e2e6d9eb81358c00863d45d037167cbf9b73a483ce63a85b0e3d27ee453886e 41072 
libcryptsetup-dev_1.1.3-1_amd64.deb
Files: 
 e3a4e032b01ded88dc376262c982b422 1844 admin optional cryptsetup_1.1.3-1.dsc
 318a64470861ea5b92a52f2014f1e7c1 499276 admin optional 
cryptsetup_1.1.3.orig.tar.bz2
 001520ca62db51930cd1d1ca883fc249 73036 admin optional 
cryptsetup_1.1.3-1.debian.tar.gz
 de3a714955cb77d730553aac29638e36 412762 admin optional 
cryptsetup_1.1.3-1_amd64.deb
 b819572d6ba96c40c8d2e79ab83653d5 297470 debian-installer optional 
cryptsetup-udeb_1.1.3-1_amd64.udeb
 0ed309cfeb9b16cca4ef7984928bef48 77078 libs optional 
libcryptsetup1_1.1.3-1_amd64.deb
 35cdd38f1ec3550409e814d8eed55240 41072 libdevel optional 
libcryptsetup-dev_1.1.3-1_amd64.deb
Package-Type: udeb

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

iQEcBAEBCAAGBQJMOGnEAAoJEHUY1PcOVR4zmeEH/3O81UW7w//flCuswQkvA23L
rWqa0z8g1p/H4aUutfcdFmILj4aci5KuM5pvYcdeZmJImXZbka7/CnuNtzaZuM/7
2IxhrYA49KbocAF8Zu6wAvHD/5qRpujabVJcrSA3GQtHga2YO41wjOCS9RRSHl89
XMQ7vslHozH/JQGFxV6GuvgnjQNu/E9l0rmuxeWGJijwbpdVe6vVUQEF3tievs5M
Rdv1Ol0b/JtmWo+m6Erp5yXk5MXtxUi3IqmsFSPuNv3MiuM6etgL1rzMHN4g9pGZ
V16AwY2LnyoJuMWDUBGT4xvhP7ZVCCYAiFXQoKs5cOCitrPU7Y+kX2Rm4gHnfjQ=
=lXmi
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to