[pkg-cryptsetup-devel] Bug#524168: cryptsetup: Swap on dm-crypt on top of software RAID results in a sw RAID resync on every boot.

Tim Small tim at buttersideup.com
Wed Apr 15 09:10:30 UTC 2009

Package: cryptsetup
Version: 2:1.0.6-7
Severity: normal

Using the documented method for a "throw-away" encrypted swap partition,
results in a software RAID resync on every reboot.

I assume that the swap partition is not being correctly stopped during
shutdown i.e. this isn't happening:

1. swapoff

2. stop or read-only the underlying crypt device

3. stop or read-only the underlying md device



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

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

More information about the pkg-cryptsetup-devel mailing list