[pkg-cryptsetup-devel] Bug#795871: cryptsetup: cryptsetup remove on swap hangs at system shutdown time

Julian Gilbey jdg at debian.org
Mon Nov 16 14:09:09 UTC 2015


On Mon, Aug 17, 2015 at 05:06:06PM +0100, Julian Gilbey wrote:
> Package: cryptsetup
> Version: 2:1.6.6-5
> Severity: important
> 
> I have two machines which have an encrypted swap partition, and at
> some point they stopped shutting down cleanly.  They are still running
> with a sysvinit init system, if that might be making a difference.
> They reach the /etc/init.d/cryptdisks stop command, they say "Stopping
> remaining crypto disks", and then hang.  Adding some debugging lines
> to /lib/cryptsetup/cryptodisks, it became clear that they are hanging
> on the command: "cryptsetup remove sda7_crypt" within do_close.  (This
> is happening on every shutdown or restart.)
> 
> At that point, the only way to complete the shutdown is to do a
> hardware power-down, hence why I have labelled this bug as
> "important".

I have recently migrated to systemd, and now my machine shuts down
smoothly, so it seems it may be a sysvinit-related issue.

   Julian



More information about the pkg-cryptsetup-devel mailing list