[pkg-cryptsetup-devel] Bug#761359: cryptsetup: cryptdisks_start do no start encrypted raw device right

Michael Rüger mrueger at gmrueger.de
Sat Sep 13 08:46:07 UTC 2014


Package: cryptsetup
Version: 2:1.6.6-1
Severity: important

Dear Maintainer,



cryptdisks_start do no start encrypted raw device right, neither with keyfile specified in /etc/crypttab nor with passwort/passprase fro stdin.
  Command: cryptdisk_start crypt (passphrase from stdin)
  /ect/crypttab line:
    crypt  /dev/disk/by-id/wwn-0x50000f0018362405-part10  none noauto

  Mounting the  raw /dev/mapper/crypt  failed with error:" mount: you must specify the filesystem type."

  I'm able to start the raw device with cryptsetup  open --type plain /dev/disk/by-id/wwn-0x50000f0018362405-part10 crypt  passphand finally  i  succeed with: mount /dev/mapper/crypt /crypt  




-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.14-2-amd64 root=UUID=2ad233fb-f807-4c96-9bdf-1ea0eda2db91 ro quiet

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
crypt  /dev/disk/by-id/wwn-0x50000f0018362405-part10  none noauto
#rsync /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2911HQ17GX5A-part1 none noauto
rsync_crypt /dev/disk/by-id/ata-WDC_WD30EZRX-00D8PB0_WD-WCC4N0905098-part2 none noauto

-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' 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/sdb10 during installation
UUID=2ad233fb-f807-4c96-9bdf-1ea0eda2db91 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sdb7 during installation
#UUID=35b4efe5-3ce7-4559-816d-adfb0057fffe /boot           ext3    defaults        0       2
# /home was on /dev/sdb11 during installation
UUID=d8af4dd7-b22e-4016-ab49-f77a5c5122cf /home           ext3    defaults        0       2
##/dev/sda5 ssd 
UUID=01ccec9b-2824-45d6-b1fd-ca8799976e2f /home2          ext4    defaults        0       2
# swap was on /dev/sdb6 during installation
UUID=860225df-5fb8-4f4e-8138-ded8da2652e0 none            swap    sw              0       0
#/dev/sda6 ssd 
UUID=B735-BBFE                            /windows/fat32 vfat    rw,user,noauto,noatime          0       0
#/dev/sdb1  ata-SAMSUNG_HD753LJ_468711CQ634250
UUID=10B8B3A6B8B3892C  /windows/C      ntfs    ro,noauto,user,umask=0222,nls=utf8 0 0
#/dev/sdb2  ata-SAMSUNG_HD753LJ_468711CQ634250
UUID=22A4D48EA4D465B7  /windows/D      ntfs    rw,noauto,user,umask=0222,nls=utf8 0 0
#ata-WDC_WD20EARX-008FB0_WD-WCAZAJ696569-part1
# -> autofs /archive -> /misc/archive
#UUID=1885a10f-0b4a-49dc-b3fc-38008baaf7fb  /archive           xfs    defaults,noatime,noauto        0       2
# 3TB WD30EZRX
UUID=c04d53b9-e70d-44da-9474-7da66df31987 /rsync/archive           xfs    defaults,noatime,noauto        0       2
# 2TB WD20EARX
UUID=612673fe-6770-45e8-9d26-1acec20cc146  /backup ext4 noauto 0 0
UUID=10B8B3A6B8B3892C       /media/usb0     auto    rw,user,noauto  0       0

### nfs mount Lena
rabby:/home  /mnt/rabby/home  nfs  ro,noauto,nfsvers=3

#/dev/sdc0       /media/cdrom0   udf,iso9660 user,noauto     0       0
#/dev/sr0       /media/cdrom0   udf,iso9660 user,noauto     0       0
#/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
# /dev/sda1       /media/usb0     auto    rw,user,noauto  0       0
#/dev/sdb1       /mnt/sdb1     auto    rw,user,noauto  0       0
#/dev/sdc1       /mnt/sdc1     auto    rw,user,noauto  0       0
#/dev/sdc1       /media/ipod     auto    rw,user,noauto  0       0
#/dev/sdd1       /mnt/sdd1     auto    rw,user,noauto  0       0




-- lsmod
Module                  Size  Used by
sha256_ssse3           21596  2 
sha256_generic         16804  1 sha256_ssse3
cbc                    12696  1 
nls_utf8               12456  0 
nls_cp437              16553  0 
vfat                   17135  0 
fat                    53794  1 vfat
usb_storage            52071  0 
snd_hrtimer            12604  1 
snd_seq_midi           12848  0 
snd_seq_midi_event     13316  1 snd_seq_midi
snd_rawmidi            26805  1 snd_seq_midi
snd_seq                48834  3 snd_seq_midi_event,snd_seq_midi
snd_seq_device         13132  3 snd_seq,snd_rawmidi,snd_seq_midi
cpufreq_stats          12789  0 
cpufreq_userspace      12525  0 
cpufreq_powersave      12454  0 
cpufreq_conservative    14184  0 
pci_stub               12429  1 
vboxpci                18981  0 
vboxnetadp             25443  0 
input_polldev          12906  0 
vboxnetflt             23324  0 
binfmt_misc            16949  1 
vboxdrv               327732  3 vboxnetadp,vboxnetflt,vboxpci
nfsd                  254693  13 
auth_rpcgss            51240  1 nfsd
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
nfs                   187768  0 
lockd                  79321  2 nfs,nfsd
fscache                45542  1 nfs
sunrpc                228923  19 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
snd_hda_codec_hdmi     40955  4 
nvidia              10490740  28 
joydev                 17063  0 
iTCO_wdt               12831  0 
iTCO_vendor_support    12649  1 iTCO_wdt
snd_hda_codec_realtek    50301  1 
snd_hda_codec_generic    59065  1 snd_hda_codec_realtek
evdev                  17445  21 
kvm_intel             134712  0 
kvm                   388172  1 kvm_intel
snd_hda_intel          43768  10 
i7core_edac            22277  0 
crc32c_intel           21809  0 
snd_hda_codec         100159  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
edac_core              47369  2 i7core_edac
lpc_ich                20768  0 
serio_raw              12849  0 
pcspkr                 12595  0 
snd_hwdep              13148  1 snd_hda_codec
snd_pcm_oss            44847  0 
snd_mixer_oss          22042  3 snd_pcm_oss
i2c_i801               16964  0 
snd_pcm                84566  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
mfd_core               12601  1 lpc_ich
snd_timer              26614  3 snd_hrtimer,snd_pcm,snd_seq
snd                    61094  30 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_mixer_oss
i2c_core               28324  2 i2c_i801,nvidia
soundcore              13026  3 snd
acpi_cpufreq           17218  0 
processor              28221  1 acpi_cpufreq
shpchp                 31121  0 
button                 12944  0 
thermal_sys            27642  1 processor
vhba                   17120  1 
msr                    12677  0 
cpuid                  12663  0 
it87                   34183  0 
hwmon_vid              12388  1 it87
coretemp               12854  0 
fuse                   78879  3 
parport_pc             26300  1 
ppdev                  16782  0 
lp                     17074  0 
parport                35749  3 lp,ppdev,parport_pc
loop                   26605  0 
dm_crypt               22595  1 
dm_mod                 89276  2 dm_crypt
autofs4                35575  4 
ext4                  473554  3 
crc16                  12343  1 ext4
mbcache                13082  1 ext4
jbd2                   82560  1 ext4
sg                     29972  0 
sd_mod                 44346  7 
crc_t10dif             12431  1 sd_mod
crct10dif_generic      12581  1 
sr_mod                 21898  0 
crct10dif_common       12356  2 crct10dif_generic,crc_t10dif
cdrom                  39232  1 sr_mod
ata_generic            12490  0 
hid_generic            12393  0 
hid_logitech_dj        17245  0 
usbhid                 44473  0 
hid                    94034  6 hid_generic,usbhid,hid_logitech_dj
ahci                   25099  5 
libahci                27116  1 ahci
pata_it8213            12610  0 
libata                168945  4 ahci,libahci,ata_generic,pata_it8213
scsi_mod              183017  6 sg,vhba,usb_storage,libata,sd_mod,sr_mod
xhci_hcd              148828  0 
r8169                  60070  0 
mii                    12675  1 r8169
uhci_hcd               39403  0 
ehci_pci               12512  0 
ehci_hcd               65741  1 ehci_pci
usbcore               178937  6 uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common             12440  1 usbcore


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.6.6-1
ii  debconf [debconf-2.0]  1.5.53
ii  dmsetup                2:1.02.90-1
ii  libc6                  2.19-10

Versions of packages cryptsetup recommends:
ii  busybox                                 1:1.22.0-8
ii  console-setup                           1.111
ii  initramfs-tools [linux-initramfs-tool]  0.116
pn  kbd                                     <none>

Versions of packages cryptsetup suggests:
ii  dosfstools              3.0.26-3
ii  keyutils                1.5.9-5
ii  liblocale-gettext-perl  1.05-8+b1

-- debconf information:
  cryptsetup/prerm_active_mappings: true



More information about the pkg-cryptsetup-devel mailing list