[pkg-cryptsetup-devel] Bug#886398: cryptsetup doesn't correctly unmount encrypted disk

Michael S manager0182 at yandex.com
Fri Jan 5 11:25:50 UTC 2018


Package: cryptsetup
Version: 2:1.7.3-4
Severity: important

Dear Maintainer,

cryptsetup on my system doesn't close properly encrypted disks on reboot/shutdown, reporting '(busy)' message several times until failing.

I have this problem since moved from jessie to stretch a year ago and the problem has not been fixed until now.

I know there is a ticket 792552 suggesting some patches but neigher is working for me, I have tried:
- removing /run/udev/control before do_stop() in cryptsetup.functions
- adding `dmsetup remove_all` to do_stop()

Please could you be so kind and fix the bug properly in the package existing in stable Debian release?

-- Package-specific info:

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.7.3-4
ii  debconf [debconf-2.0]  1.5.61
ii  dmsetup                2:1.02.142-1
ii  libc6                  2.24-11+deb9u1

Versions of packages cryptsetup recommends:
ii  busybox                                 1:1.22.0-19+b3
ii  console-setup                           1.164
ii  initramfs-tools [linux-initramfs-tool]  0.130
ii  kbd                                     2.0.3-2+b1

Versions of packages cryptsetup suggests:
ii  dosfstools              4.1-1
pn  keyutils                <none>
ii  liblocale-gettext-perl  1.07-3+b1

-- Configuration Files:
/etc/init.d/cryptdisks changed [not included]

-- debconf information:
  cryptsetup/prerm_active_mappings: true



More information about the pkg-cryptsetup-devel mailing list