[pkg-cryptsetup-devel] Bug#810380: cryptsetup goes to an endless loop when shutting down the system

Klaus Ethgen Klaus at Ethgen.de
Fri Jan 8 16:21:29 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Package: cryptsetup
Version: 2:1.7.0-1
Severity: critical

When I shut down my system or (more important) reboot it, it will run
into a endless loop after tellin "Stopping remaining crypto disks"
trying to stop all cryptfilesystems that are in /etc/crypttab (and only
them, not partitions mounted manually) to stop again and again.

That makes the whole system break as it will never end its shutdown and
so never come back online again.

The bug was introduced in the last update from version 2:1.6.6-5 to
2:1.7.0-1.

- -- Package-specific info:
- -- /proc/cmdline
root=/dev/md0 ro ide0=autotune ide1=autotune acpi=on vga=0x318 ipv6.disable=1 video=ofonly intel_iommu=on 

- -- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
#swap0 /dev/sda2	  /dev/random		swap,cipher=blowfish-cbc-essiv:sha512
#swap1 /dev/sdb2	  /dev/random		swap,cipher=blowfish-cbc-essiv:sha512
swap0 /dev/sda2	  /dev/urandom		swap,cipher=blowfish-cbc-essiv:sha256,hash=sha256,size=56,noearly
swap1 /dev/sdb2	  /dev/urandom		swap,cipher=blowfish-cbc-essiv:sha256,hash=sha256,size=56,noearly
crypt0 UUID=5a26b56c-04c7-4e43-95d2-b03668f11513 none luks,noauto

- -- /etc/fstab
# HEADER: This file was autogenerated at Sat Jan 05 17:08:46 +0100 2013
# HEADER: by puppet.  While it can still be managed manually, it
# HEADER: is definitely not recommended.
# /etc/fstab: static file system information.
#
# <file system>	      <mount point>   <type>	<options>									     <dump/pass>
LABEL=/               /               xfs       logbufs=8                                                                              1     1
/dev/mapper/swap0     none            swap      sw,pri=2                                                                               0     0
/dev/mapper/swap1     none            swap      sw,pri=2                                                                               0     0
# hidepid was introduced with kernel v3.3
proc                  /proc           proc      hidepid=2,gid=adm                                                      0  0
tmpfs                 /tmp            tmpfs     nosuid,nodev,mode=1777                                                 0  0
LABEL=/usr            /usr            btrfs     nodev,space_cache,autodefrag,compress                                  1  2
LABEL=/var            /var            btrfs     nosuid,space_cache,autodefrag,compress                                 1  2
LABEL=/usr/local      /usr/local      btrfs     nosuid,nodev,space_cache,autodefrag,compress                           1  2
LABEL=ikki_crypt      /home           btrfs     nosuid,nodev,space_cache,autodefrag,compress,subvol=home,noauto        1  0
LABEL=ikki_crypt      /misc           btrfs     nosuid,space_cache,autodefrag,compress,subvol=misc,noauto              1  0
LABEL=ikki_crypt      /etc/secure     btrfs     nosuid,nodev,noexec,space_cache,autodefrag,compress,subvol=etc,noauto  1  0
LABEL=ikki_crypt      /root           btrfs     nosuid,nodev,space_cache,autodefrag,compress,subvol=root,noauto        1  0
#LABEL=MediaBackup    /misc/MBackups  xfs       nosuid,nodev,noikeep                                                   1  2
tmpfs                 /media          tmpfs     nosuid,nodev,noexec,mode=0755,size=10240k                              0  0
/home/doshd           /dos            vfat      noauto,loop,offset=32384                                               0  0
/dev/sr0              /cdrom          auto      ro,nosuid,nodev,group,gid=24,noauto                                    0  0
#/dev/cdrom           /cdfs           cdfs      ro,nosuid,nodev,group,gid=24,noauto                                    0  0
#LABEL=hathi:/        /hathi          ext2      ro                                                                     1  0
#/dev/sysvg/lv_hathi  /hathi          squashfs  ro                                                                     0  0
/dev/sdb6             /misc/bacula    xfs       nosuid,nodev,noikeep                                                   1  2

- -- lsmod
Module                  Size  Used by
fuse                   86016  5
twofish_generic        20480  0
ablk_helper            16384  0
cryptd                 20480  1 ablk_helper
twofish_x86_64_3way    28672  1
lrw                    16384  1 twofish_x86_64_3way
glue_helper            16384  1 twofish_x86_64_3way
twofish_x86_64         16384  1 twofish_x86_64_3way
twofish_common         24576  3 twofish_generic,twofish_x86_64_3way,twofish_x86_64
xts                    16384  1 twofish_x86_64_3way
gf128mul               16384  2 lrw,xts
algif_skcipher         20480  0
af_alg                 16384  1 algif_skcipher
oss_usb               110592  2
oss_hdaudio           151552  4
osscore               516096  4 oss_hdaudio,oss_usb
pktcdvd                32768  1
binfmt_misc            16384  1
drbg                   24576  1
ansi_cprng             16384  0
blowfish_generic       16384  0
blowfish_x86_64        24576  4
blowfish_common        20480  2 blowfish_generic,blowfish_x86_64
visor                  16384  0
usbserial              28672  1 visor
af_packet              36864  0
aic7xxx               122880  0
ecryptfs               90112  0
cbc                    16384  0
sha256_ssse3           24576  7
sha256_generic         24576  1 sha256_ssse3
hmac                   16384  2
encrypted_keys         20480  1 ecryptfs
dm_crypt               24576  3
dm_mod                 94208  34 dm_crypt
st                     53248  0
hid_logitech_hidpp     20480  0
joydev                 20480  0
input_leds             16384  0
hid_lenovo             20480  0
hid_logitech_dj        20480  0
led_class              16384  2 hid_lenovo,input_leds
coretemp               16384  0
kvm_intel             151552  0
usbhid                 32768  0
nvidia              10514432  29
kvm                   315392  1 kvm_intel
uhci_hcd               32768  0
ehci_pci               16384  0
mxm_wmi                16384  0
crc32c_intel           24576  0
ehci_hcd               49152  1 ehci_pci
evdev                  20480  6
firewire_ohci          36864  0
aic79xx               143360  0
r8169                  69632  0
psmouse                81920  0
lpc_ich                24576  0
microcode              16384  0
drm                   266240  3 nvidia
sr_mod                 24576  1
firewire_core          53248  1 firewire_ohci
serio_raw              16384  0
pcspkr                 16384  0
scsi_transport_spi     28672  2 aic79xx,aic7xxx
usbcore               163840  7 visor,uhci_hcd,usbserial,ehci_hcd,ehci_pci,usbhid,oss_usb
agpgart                32768  1 drm
i2c_i801               20480  0
usb_common             16384  1 usbcore
mii                    16384  1 r8169
cdrom                  32768  2 sr_mod,pktcdvd
crc_itu_t              16384  1 firewire_core
sg                     36864  0
i7core_edac            24576  0
mfd_core               16384  1 lpc_ich
floppy                 61440  0
rtc_cmos               20480  0
wmi                    20480  1 mxm_wmi
button                 16384  0
acpi_cpufreq           16384  1
processor              32768  1 acpi_cpufreq
thermal_sys            36864  1 processor
hwmon                  16384  2 coretemp,thermal_sys


- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (500, 'testing'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.6 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.7.0-1
ii  debconf [debconf-2.0]  1.5.58
ii  dmsetup                2:1.02.114-1
ii  libc6                  2.21-6

Versions of packages cryptsetup recommends:
pn  busybox | busybox-static                      <none>
pn  console-setup                                 <none>
ii  initramfs-tools-dummy [linux-initramfs-tool]  1.0
ii  kbd                                           2.0.3-2

Versions of packages cryptsetup suggests:
ii  dosfstools              3.0.28-2
ii  keyutils                1.5.9-8
ii  liblocale-gettext-perl  1.07-1+b1

- -- debconf information:
  cryptsetup/prerm_active_mappings: true

- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus at Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCgAGBQJWj+H/AAoJEKZ8CrGAGfasT3gL/AhqrSNXc5QUbG5eBHysfU5l
hZVZLsZA9WKaotERUAUVhpx4c73Ms2TTkhCmh0hHv7ETL9nbbZNi/pCSIqE+WTJA
k9+EMEZi5nl7CGacPTtb2UKTC7dEga/Xxm9ZXMbYeE9lwECmU5rG4qVpT+kbS9tk
AcU3XlxrP5TXVHFRqafSP0bVZHujwWXRCM/8hzBDp28DVpuUTJetv6mPTrAeeu1n
pQY8U3h5+xS22lkQ1UZPzR55eGyh3XXHc4ikdm1WFy4NLhqKYwRFcDI0aVA4SE0l
tdYfSiKFwK12eXnmNHyPd6pYNGnANn40l5KgPxLhv14wm1nAyEm7GzauGSW1fFZt
V/COd0i7KEXQ3UsJWSMAhAZEnRoIvmUAL0I1Vif48WJdm+OjdaCw2SmZOP5SjHJi
IHR+NHPIfNPYmLfoSlNGTX6PUptVK9Jy+dLvgvZZZBNO0ATGJm11TjQhFf2xpwtY
UyTQqk5F3BgEyBV4E2FSNG+vbQ0FuXWV3259loJWEw==
=h32B
-----END PGP SIGNATURE-----



More information about the pkg-cryptsetup-devel mailing list