summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-06-11 23:51:44 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-12 00:04:42 +0200
commitb6b95685d0b478698d648f13afd927b1e1700d99 (patch)
tree98c5ac21270ea4b0a309ad6f616f991737c7d54f /nix
parent648ae62112f62bc2106fb36d45c83fda787d3bed (diff)
downloadguix-b6b95685d0b478698d648f13afd927b1e1700d99.tar.gz
shepherd: Unblock signals in the child process.
Fixes <https://bugs.gnu.org/41791>.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

This change mirrors changes made in the Shepherd 0.8.1, where signals
are blocked in the shepherd process in support of 'signalfd'.  The
regression was introduced with the switch to 0.8.1 in
3f9c62d1a8b345909adaeb22f454ad22554c55a1: child processes would not
receive SIGTERM upon 'herd stop SERVICE'.

* gnu/build/shepherd.scm <top level>: Autoload (shepherd system).
(make-forkexec-constructor/container): Call call to 'sigaction' and
'unblock-signals'.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions