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

Christoph Anton Mitterer calestyo at scientia.net
Tue Oct 12 03:54:54 BST 2021


Hey.

I've just noted that busybox' timeout is quite incompatible with
coreutils'.

Since our keyscripts (and askpass) have to run under both scenarios, it
would probably make sense to add some timeout functionality to askpass.


It could return the typical 124 exit code as done by timeout, so any
poweroff/suspend/etc. could still be handled outside.


Any preference how you'd want such timeout to be done in askpass?

I personally don't like using fixed positional parameters... 
getopt? Or via env var?



Cheers,
Chris.


btw: Despite of this, I' still suggest to allow the signals.



More information about the pkg-cryptsetup-devel mailing list