[pkg-cryptsetup-devel] Bug#1006802: cryptdisks_stop should process crtypttab entries in reverse order

Guilhem Moulin guilhem at debian.org
Mon Mar 7 00:50:44 GMT 2022


Control: tag -1 pending

On Sat, 05 Mar 2022 at 17:17:07 +0100, Guilhem Moulin wrote:
> For do_start() we're reading crypttab(5) sequentially as we don't have
> enough information about nesting, however for do_stop() we have that
> information in the mapping table, so no need to reverse crypttab(5)
> entries or guess nesting.  I need to do some tests but I guess running
> foreach_cryptdev() in the callback should be enough.

Fixed at https://salsa.debian.org/cryptsetup-team/cryptsetup/-/commit/a5cdd34a43458e4d2a7ff0d9b7b402374382a75a
I think.  Please confirm :-)  You'll need to apply
https://salsa.debian.org/cryptsetup-team/cryptsetup/-/commit/048f504df31277d8d47b01ffa4c864b8b282e6df
beforehand and probably remove the changes to debian/tests/* from the
patch.

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20220307/1759a865/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list