[pkg-cryptsetup-devel] any reason why askpas blocks all signals?

Guilhem Moulin guilhem at debian.org
Mon Oct 11 22:45:49 BST 2021


On Mon, 11 Oct 2021 at 23:35:01 +0200, Christoph Anton Mitterer wrote:
> On Mon, 2021-10-11 at 23:18 +0200, Guilhem Moulin wrote:
>> FWIW I'd be interested to have an opt-in configurable timeout builtin
>> inside askpass, with a configurable trigger poweroff / suspend /
>> exit() / whatever.
>
> Poweroff/suspend doesn't seem like functionality that would belong into
> askpass?

Could be in a wrapper of course.  Would be useful at initramfs stage
anyway.
 
> Plus, what if the system in question powers on because of e.g. some
> periodic wake on lan.
> In that case one might end up in an startup/shutdown cycle (which might
> not be that good for hardware either).

If the opt-in doesn't make sense in the target environment, then don't
opt in.

> Anyway... do you oppose the idea of making askpass interruptible?

At the moment I have no opinion on the matter.

-- 
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/20211011/bf9c1421/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list