summary refs log tree commit diff
path: root/tests/scripts.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-09-29 22:20:18 +0200
committerLudovic Courtès <ludo@gnu.org>2022-09-29 22:56:56 +0200
commit168a7933c0e138dc7061a3f0dc96871e16da5c5f (patch)
treeb637c05fd8572226b3afef12a56bc71d08f55bdf /tests/scripts.scm
parente6777cfa5eb5e9c36eaf7810b42cac0fbcaa367c (diff)
downloadguix-168a7933c0e138dc7061a3f0dc96871e16da5c5f.tar.gz
services: shepherd: Leave the finalization thread in peace.
This gets rid of that (in)famous at boot time:

  error in finalization thread: Success

This was caused by the file-descriptor closing loop, which would clause
the finalization pipe, leading the finalization thread to (erroneously)
error out.

Thanks to Josselin Poiret for locating the problem!

* gnu/services/shepherd.scm (shepherd-boot-gexp): In 'loop', replace
'close-fdes' with a pair of 'fcntl' calls to add FD_CLOEXEC.
Diffstat (limited to 'tests/scripts.scm')
0 files changed, 0 insertions, 0 deletions