FS#56756 - Resetting signal handlers prior to calling hooks
Attached to Project:
Pacman
Opened by Sébastien Luttringer (seblu) - Sunday, 17 December 2017, 16:36 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 25 December 2018, 18:13 GMT
Opened by Sébastien Luttringer (seblu) - Sunday, 17 December 2017, 16:36 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 25 December 2018, 18:13 GMT
|
Details
Summary and Info:
I'm quoting Andrew Gregory from - Hooks are run with SIGPIPE ignored which causes '... | grep -q ...' in the dkms script to print the error when the grep exits early and the echo receives EPIPE. - does not ignore SIGPIPE, GPGME does. I need to look into resetting signal handlers prior to calling the hook. - libalpm uses GPGME for signature checking. GPGME uses pipes to communicate with external processes. When GPGME is initialized it sets SIGPIPE to be ignored, so that it can gracefully handle EPIPE rather than have the entire application die. This bug is to track fix into pacman, and when I can remove the workaround in dkms. |
Closed by Andrew Gregory (andrewgregory)
Tuesday, 25 December 2018, 18:13 GMT
Reason for closing: Fixed
Additional comments about closing: v5.1.2
Tuesday, 25 December 2018, 18:13 GMT
Reason for closing: Fixed
Additional comments about closing: v5.1.2
I've lost count of how many times I had to re-run mkinitcpio because the hook died due to a signal, whether due to opening a new terminal tab, or detaching from tmux, or disconnecting from mosh...