[pkg-cryptsetup-devel] Bug#811456: Bug#811456: Unable to find seq in shutdown
Guilhem Moulin
guilhem at guilhem.org
Tue Jan 19 11:02:10 UTC 2016
Hi Klaus,
On Tue, 19 Jan 2016 at 08:08:42 +0100, Klaus Ethgen wrote:
> This might be a regression of the earlier bugfix to not loop forever.
Of #792552 actually (my bad). (#810380, which you're referring to, was
itself a regression of #792552 but I reverted the patch and reworked it
from scratch.) Didn't spot this during tests since seq comes from
busybox which is in cryptsetup's Recommends. So in the meantime, a
workaround is to install busybox.
> However, it has a bad taste for me to do that looping.
Could you expand on this? #792552 shows a desire to try again to close
a device when it's busy on the first try. I didn't add the seq to fix
the endless loop you reported in #810380, but to make the script
eventually bail out (with open crypt devices) and proceed with the
shutdown instead of trying forever *if for some reason the disk keeps
being busy*. (In most cases it'll be closed on the first try and the
script will move on the next crypttab(5) entry.)
Cheers,
--
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20160119/797d07f5/attachment.sig>
More information about the pkg-cryptsetup-devel
mailing list