[pkg-cryptsetup-devel] Bug#768314: cryptsetup: Passphrase prompt rolls by without stopping

Carlo Wood carlo at alinoe.com
Mon Dec 15 22:00:05 UTC 2014


Package: cryptsetup
Version: 2:1.6.6-3
Followup-For: Bug #768314

Dear Maintainer,

I have the exact same problem as Kjetil.
I installed plymouth, but that didn't change anything.

It is extremely confusing and unclear what happens
when password prompts fly by and when some weird,
unclear counter starts running. When you type your
password anyway, the screen is garbled up seriously
due to this counter, as well.

Pressing return a few times also results for me in
ending up in the emergency mode.

   * What led up to the situation?

Same as Kjetil: I dist-upgraded from wheezy to sid.
Also in my case I got the same errors as he mentioned
and had reboot with an incomplete apt-get command.

Actually, I have a different problem then Kjetil too:
Previously my system didn't ask for a password at all:
it is read from an USB stick by using the keyscript=...
option in /etc/crypttab. I have no idea why it is
asking me for a password at all... but seriously,
since it does THIS bug is a showstopper for jessie imho.

Can you please suggest a way I can debug this?

-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.16.0-4-amd64 root=UUID=52eb6dd8-0304-4102-b3e2-7b160559f715 ro quiet

-- /etc/crypttab
scsi-SATA_OCZ-VERTEX4_OCZ-5T94F27KZ830YPJT-part8_crypt UUID=2fcd8841-aae5-4d5f-9d91-78275e74689b none luks,keyscript=/etc/usb/dd-luks-key.sh
scsi-SATA_OCZ-VERTEX4_OCZ-A58A63H04CI286B9-part1_crypt /dev/disk/by-id/scsi-SATA_OCZ-VERTEX4_OCZ-A58A63H04CI286B9-part1 /dev/urandom cipher=aes-xts-plain64,size=256,swap
scsi-SATA_WDC_WD5000AAKX-_WD-WCAYUJX25063-part2_crypt UUID=bea49202-3446-49d2-9ec0-82fcfc9d370c none luks,keyscript=/etc/usb/dd-luks-key.sh

-- /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>
# / was on /dev/sdb5 during installation
UUID=52eb6dd8-0304-4102-b3e2-7b160559f715 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sdb3 during installation
UUID=5ab5a5dd-f830-415d-9de3-9989357039c1 /boot           ext4    defaults        0       2
/dev/mapper/scsi-SATA_WDC_WD5000AAKX-_WD-WCAYUJX25063-part2_crypt /encrypted      ext4    defaults        0       2
/dev/mapper/scsi-SATA_OCZ-VERTEX4_OCZ-5T94F27KZ830YPJT-part8_crypt /home           ext4    defaults        0       2
# /opt was on /dev/sdd1 during installation (this uuid will be used by the SL viewer).
UUID=ffffffff-338c-41ea-ad0d-b0e28fb3c912 /opt            ext4    defaults        0       2
# /opt/verylarge was on /dev/sdd2 during installation
UUID=897420f6-99b1-4056-9097-ff393c4049b9 /opt/verylarge  ext4    defaults        0       3
# /usr was on /dev/sdb6 during installation
UUID=cdcc6e05-d5a0-44c8-9c99-d248e9c3039d /usr            ext4    defaults        0       2
# /usr/local was on /dev/sdb7 during installation
UUID=799f2a7f-eacb-4ba0-a371-01a090bd2321 /usr/local      ext4    defaults        0       2
# /usr/src was on /dev/sde1 during installation
UUID=ab6f6843-1e5b-4936-a744-afb0713738b8 /usr/src        ext4    defaults        0       3
# /var was on /dev/sdb9 during installation
UUID=dea92e60-9ba2-4d67-9783-a50796dfd5f1 /var            ext4    defaults        0       2
/dev/mapper/scsi-SATA_OCZ-VERTEX4_OCZ-A58A63H04CI286B9-part1_crypt none            swap    sw              0       0
tmpfs           /tmp            tmpfs   defaults,mode=1777,size=10240m,noatime,nosuid           0       0
tmpfs           /var/tmp        tmpfs   defaults,mode=1777,size=1024m,noexec,nosuid             0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
# Scratch area.
UUID=b66ee093-0423-4ca5-9205-22b677924e3e /SSD2           ext2    defaults        0       2

# NFS
#hikaru:/opt/verylarge/movies /mnt/hikaru-movies nfs rw,rsize=4096,wsize=4096,udp,hard,intr,async,nodev,nosuid,auto 0 3

# 32 GB USB stick
#/dev/disk/by-id/usb-Corsair_Voyager_GT_3.0_22071807120000030036-0:0-part1 /mnt/usb-Corsair_Voyager ntfs defaults,noatime,nofail 0 0
# HEMA 4 GB USB stick
/dev/USBHema1 /mnt/usb-HEMA_4GB vfat defaults,noatime,ro,iocharset=iso8859-1  0 0

# NTFS partitions.
UUID=63F2D9E5521919E3 /opt-ntfs ntfs defaults 0 2
UUID=67E8B3C336548A4B /opt-ntfs/SSD2 ntfs defaults 0 3


-- lsmod
Module                  Size  Used by
pci_stub               12429  1 
vboxpci                23077  0 
vboxnetadp             25443  0 
vboxnetflt             23324  0 
cfg80211              405538  0 
vboxdrv               269984  3 vboxnetadp,vboxnetflt,vboxpci
binfmt_misc            16949  1 
nfsd                  263032  2 
auth_rpcgss            51211  1 nfsd
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
nfs                   188136  0 
lockd                  83389  2 nfs,nfsd
fscache                45542  1 nfs
sunrpc                237402  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
ib_iser                44204  0 
rdma_cm                39518  1 ib_iser
iw_cm                  31011  1 rdma_cm
ib_cm                  39055  1 rdma_cm
ib_sa                  26986  2 rdma_cm,ib_cm
ib_mad                 39969  2 ib_cm,ib_sa
ib_core                68904  6 rdma_cm,ib_cm,ib_sa,iw_cm,ib_mad,ib_iser
ib_addr                17148  2 rdma_cm,ib_core
iscsi_tcp              17580  0 
libiscsi_tcp           21554  1 iscsi_tcp
libiscsi               48004  3 libiscsi_tcp,iscsi_tcp,ib_iser
scsi_transport_iscsi    77478  4 iscsi_tcp,ib_iser,libiscsi
dm_crypt               22595  2 
algif_skcipher         13008  0 
af_alg                 12988  1 algif_skcipher
snd_hda_codec_hdmi     45118  1 
nls_iso8859_1          12461  1 
dm_mod                 89373  5 dm_crypt
eeepc_wmi              12600  0 
asus_wmi               22781  1 eeepc_wmi
sparse_keymap          12818  1 asus_wmi
rfkill                 18867  2 cfg80211,asus_wmi
video                  18030  1 asus_wmi
mxm_wmi                12515  0 
joydev                 17063  0 
kvm_amd                59091  0 
kvm                   388635  1 kvm_amd
crc32_pclmul           12915  0 
ghash_clmulni_intel    12978  0 
nvidia              10507891  43 
aesni_intel           151423  4 
aes_x86_64             16719  1 aesni_intel
lrw                    12757  1 aesni_intel
gf128mul               12970  1 lrw
glue_helper            12695  1 aesni_intel
ablk_helper            12572  1 aesni_intel
cryptd                 14516  5 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_codec_realtek    63031  1 
evdev                  17445  27 
edac_mce_amd           21166  0 
snd_hda_codec_generic    63107  1 snd_hda_codec_realtek
serio_raw              12849  0 
pcspkr                 12595  0 
edac_core              51465  0 
k10temp                12618  0 
fam15h_power           12684  0 
sp5100_tco             12864  0 
i2c_piix4              20864  0 
snd_hda_intel          26327  4 
snd_hda_controller     26727  1 snd_hda_intel
snd_hda_codec         104463  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              13148  1 snd_hda_codec
snd_pcm                88662  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  1 snd_pcm
snd                    65244  16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              13026  2 snd,snd_hda_codec
drm                   249955  3 nvidia
i2c_core               46012  3 drm,i2c_piix4,nvidia
shpchp                 31121  0 
wmi                    17339  2 mxm_wmi,asus_wmi
processor              28221  8 
button                 12944  0 
thermal_sys            27642  2 video,processor
it87                   34183  0 
hwmon_vid              12388  1 it87
loop                   26605  0 
firewire_sbp2          21893  0 
fuse                   83350  5 
parport_pc             26300  0 
ppdev                  16782  0 
lp                     17074  0 
parport                35749  3 lp,ppdev,parport_pc
autofs4                35529  2 
hid_generic            12393  0 
usbhid                 44460  0 
hid                   102264  2 hid_generic,usbhid
ext4                  473802  11 
crc16                  12343  1 ext4
mbcache                17171  1 ext4
jbd2                   82413  1 ext4
vfat                   17135  1 
fat                    61986  1 vfat
nls_cp437              16553  1 
nls_utf8               12456  0 
sr_mod                 21903  0 
cdrom                  47424  1 sr_mod
sg                     29973  0 
sd_mod                 44356  19 
crc_t10dif             12431  1 sd_mod
crct10dif_generic      12581  0 
usb_storage            56215  1 
ohci_pci               12808  0 
crct10dif_pclmul       13387  1 
crct10dif_common       12356  3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32c_intel           21809  0 
r8169                  68262  0 
mii                    12675  1 r8169
ahci                   33291  13 
ohci_hcd               42982  1 ohci_pci
firewire_ohci          39523  0 
ehci_pci               12512  0 
libahci                27158  1 ahci
xhci_hcd              148942  0 
ehci_hcd               69837  1 ehci_pci
firewire_core          56665  2 firewire_ohci,firewire_sbp2
libata                177457  2 ahci,libahci
crc_itu_t              12347  1 firewire_core
usbcore               195340  7 usb_storage,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common             12440  1 usbcore
scsi_mod              191405  10 sg,scsi_transport_iscsi,usb_storage,libata,sd_mod,sr_mod,iscsi_tcp,firewire_sbp2,ib_iser,libiscsi


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.6.6-3
ii  debconf [debconf-2.0]  1.5.55
ii  dmsetup                2:1.02.90-2
ii  libc6                  2.19-13

Versions of packages cryptsetup recommends:
ii  busybox                                 1:1.22.0-14
ii  console-setup                           1.116
ii  initramfs-tools [linux-initramfs-tool]  0.118
ii  kbd                                     1.15.5-2

Versions of packages cryptsetup suggests:
ii  dosfstools              3.0.27-1
pn  keyutils                <none>
ii  liblocale-gettext-perl  1.05-8+b1

-- debconf information:
  cryptsetup/prerm_active_mappings: true



More information about the pkg-cryptsetup-devel mailing list