Comment 3 for bug 1056707

Revision history for this message
Colin Watson (cjwatson) wrote :

You'll need to check if it works, of course, but my recommendation would be to move the unsafe_swap script in partman-crypto from commit.d to check.d. That's where most checks of this kind belong, but the check.d facility is newer than much of the rest of partman so it isn't used quite everywhere it should be.

It's possible that you may have to rearrange unsafe_swap a little bit to deal with checking the disk layout that's about to be committed rather than whatever's currently on disk. I haven't read through it in enough detail to be sure about this.