[pkg-cryptsetup-devel] Bug#588697: cryptsetup: cryptdisks scripts not mounting encrypted volumes

Skibbi skibbi at op.pl
Sun Jul 11 11:15:22 UTC 2010


From: skibbi <skibbi at op.pl>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Date: Sun, 11 Jul 2010 13:09:21 +0200
Subject: cryptsetup: cryptdisks scripts not mounting encrypted volumes
Package: cryptsetup
Version: 2:1.1.3-1
Severity: important

After the upgrade of the cryptsetup package I'm no longer able to mount/umount my encrypted volumes using cryptdisks_start/stop scripts.

:~# cryptdisks_start sdb1_crypt
Starting crypto disk...sdb1_crypt (ignored)...done.

No propmpt for password, no errors. If I use for example 'cryptsetup luksOpen /dev/sdb1 sdb1_crypt' everything works fine.

-- Package-specific info:
-- /proc/cmdline
root=LABEL=system ro

-- /etc/crypttab
sda5_crypt /dev/sda5 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
sda6_crypt /dev/sda6 none luks,noauto
sdb1_crypt /dev/sdb1 none luks,noauto

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1       /               ext3    errors=remount-ro 0       1
LABEL=system       /               ext3    errors=remount-ro 0       1
/dev/mapper/sda6_crypt /home           ext3    defaults        0       0
/dev/mapper/sdb1_crypt /home/data/archive ext3 defaults        0       0
/dev/mapper/sda5_crypt none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0

-- lsmod
Module                  Size  Used by
parport_pc             15799  0
ppdev                   4058  0
lp                      5570  0
parport                22554  3 parport_pc,ppdev,lp
act_police              2968  0
cls_flow                4840  0
cls_fw                  2737  0
cls_u32                 4706  0
sch_htb                10423  0
sch_hfsc               13154  0
sch_ingress             1092  0
sch_sfq                 3874  0
xt_time                 1391  0
xt_connlimit            2323  0
xt_realm                 615  0
iptable_raw             1471  0
xt_comment               599  25
xt_recent               4885  0
xt_policy               1794  0
ipt_ULOG                4645  0
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             4395  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       10706  1 nf_nat_sip
nf_conntrack_proto_sctp     4754  0
nf_conntrack_pptp       3077  1 nf_nat_pptp
nf_conntrack_proto_gre     2835  1 nf_conntrack_pptp
nf_conntrack_netlink    11048  0
nf_conntrack_netbios_ns      914  0
nf_conntrack_irc        2535  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  0
xt_length                796  0
xt_iprange              1049  0
xt_helper                879  0
xt_hashlimit            6157  0
xt_DSCP                 1451  8
xt_dscp                 1123  0
xt_dccp                 1507  0
xt_conntrack            1955  16
xt_CONNMARK              943  0
xt_connmark              799  0
xt_CLASSIFY              617  0
ipt_LOG                 3570  5
xt_tcpudp               1743  43
xt_state                 927  0
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  19 iptable_nat,nf_nat
nf_defrag_ipv4           779  2 xt_TPROXY,nf_conntrack_ipv4
nf_conntrack           38067  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
microcode               8474  0
fuse                   43758  3
loop                    9757  0
sha256_generic         10748  4
aes_i586                6816  4
aes_generic            25738  1 aes_i586
cbc                     2047  2
dm_crypt                9127  2
dm_mod                 46082  5 dm_crypt
i915                  220208  0
drm_kms_helper         18305  1 i915
drm                   112020  2 i915,drm_kms_helper
i2c_algo_bit            3497  1 i915
i2c_i801                6462  0
i2c_core               12696  5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
snd_hda_codec_analog    45518  1
snd_hda_intel          16787  0
snd_hda_codec          46002  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               4054  1 snd_hda_codec
rng_core                2178  0
video                  14605  1 i915
snd_pcm                47214  2 snd_hda_intel,snd_hda_codec
output                  1204  1 video
evdev                   5609  2
container               1833  0
snd_timer              12258  1 snd_pcm
processor              26599  0
snd                    34363  6 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               3450  1 snd
snd_page_alloc          5045  2 snd_hda_intel,snd_pcm
pcspkr                  1207  0
psmouse                44657  0
button                  3598  1 i915
serio_raw               2916  0
ext3                   94204  2
jbd                    32169  1 ext3
mbcache                 3762  1 ext3
sd_mod                 25869  5
crc_t10dif              1012  1 sd_mod
ata_generic             2019  0
ata_piix               17640  5
libata                115721  2 ata_generic,ata_piix
uhci_hcd               16057  0
thermal                 9206  0
3c59x                  25044  0
mii                     2714  1 3c59x
e1000e                 97629  0
scsi_mod              101401  2 sd_mod,libata
ehci_hcd               27851  0
thermal_sys             9378  3 video,processor,thermal
usbcore                98402  3 uhci_hcd,ehci_hcd
nls_base                4541  1 usbcore


-- System Information:
Debian Release: squeeze/sid
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.48-2 The Linux Kernel Device Mapper use
ii  libc6                        2.11.2-2    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.48-2 The Linux Kernel Device Mapper use
ii  libpopt0                     1.16-1      lib for parsing cmdline parameters
ii  libuuid1                     2.17.2-3.1  Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                       1:1.15.3-1 Tiny utilities for small and embed
pn  dosfstools                    <none>     (no description available)
ii  initramfs-tools [linux-initra 0.97.2     tools for generating an initramfs
ii  udev                          158-1      /dev/ and hotplug management daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list