[pkg-cryptsetup-devel] Bug#974591: Bug#974591: cryptsetup: `service cryptdisks stop` fails with `loop_cryptdevs: not found` and does not close disks

Guilhem Moulin guilhem at debian.org
Thu Nov 12 19:44:10 GMT 2020


On Thu, 12 Nov 2020 at 19:17:43 +0100, Peter Corlett wrote:
> A cursory Google (and DDG etc) for `loop_cryptdevs` finds nothing
> except this line, and it is unclear what this broken code was supposed
> to achieve.

See #918008.  Seems I renamed the function to foreach_cryptdev() (see
also 1d97d98) before committing.  Ooops.

FWIW removing loop_cryptdevs() but preserving the rest of the line might
lead to undesired side-effects if a mapped device name is in the form
MAJ:MIN.  _do_stop_skipped() is meant to be used as callback with a
mapped device name as argument, not devnos.

-------------- 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/20201112/4d83192c/attachment.sig>

More information about the pkg-cryptsetup-devel mailing list