aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/popt.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-05-20 13:01:26 +0200
committerLudovic Courtès <ludo@gnu.org>2020-05-25 00:00:28 +0200
commitc098c11be8eb9e0c12be42640721e3cb21c37628 (patch)
tree7a1f98c34719f61c404f8fe4ff6b17a5ae2edbc7 /gnu/packages/popt.scm
parent86ac14b2f37efbb6f4a3ed1c3e183fbc9496b7a5 (diff)
downloadguix-c098c11be8eb9e0c12be42640721e3cb21c37628.tar.gz
guix-c098c11be8eb9e0c12be42640721e3cb21c37628.zip
git: Add 'commit-relation'.
* guix/git.scm (commit-relation): New procedure. * tests/git.scm ("commit-relation"): New test.
Diffstat (limited to 'gnu/packages/popt.scm')
0 files changed, 0 insertions, 0 deletions
pan title='2024-01-08 23:14:46 +0100'>2024-01-08services: shepherd: Use the 0.10.x GOOPS-less interface.Ludovic Courtès * gnu/services/shepherd.scm (%default-modules): Remove (oop goops). (shepherd-service-file): Use (service …) instead of (make <service> …). Use ‘actions’ instead of ‘make-actions’. (scm->go): Remove use of (oop goops). (shepherd-configuration-file): Pass ‘register-services’ a list. Use ‘start-in-the-background’ unconditionally. Change-Id: I0ad1ba32e339c56ee31e59f160b53d3581277d97 2024-01-05services: shepherd: Remove ‘dynamic-wind’ in ‘call-with-*-file’.Ludovic Courtès Fixes <https://issues.guix.gnu.org/64653>. The ‘dynamic-wind’ was causing files to be closed prematurely when leaving the dynamic extent of PROC for instance via a delimited continuation, using Fibers (that ‘dynamic-wind’ call was also semantically incorrect in the first place). * gnu/services/shepherd.scm (shepherd-configuration-file) [config](call-with-file): Remove. (call-with-input-file, call-with-output-file): Rewrite in terms of ‘call-with-port’. Change-Id: Ica8af71a04f525a15be99985552063cb98cd6ee8 2023-06-25services: Validate 'provision' field of <shepherd-service>.Ludovic Courtès Fixes <https://issues.guix.gnu.org/63979>. * gnu/services/shepherd.scm (validate-provision): New procedure. (<shepherd-service>)[provision]: Use it. Co-authored-by: Bruno Victal <mirai@makinata.eu> 2023-05-13services: shepherd: Default to 0.10.Ludovic Courtès * gnu/services/shepherd.scm (<shepherd-configuration>)[shepherd]: Default to SHEPHERD-0.10. * gnu/home/services/shepherd.scm (<home-shepherd-configuration>)[shepherd]: Likewise. 2022-11-18services: shepherd: Define 'shepherd-configuration-action' helper.Ludovic Courtès * gnu/services/shepherd.scm (shepherd-configuration-action): New * doc/guix.texi (Shepherd Services): Document it. 2022-09-29services: shepherd: Leave the finalization thread in peace.Ludovic Courtès 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. 2022-09-13services: shepherd: Install O_CLOEXEC variant of 'call-with-input-file' & co.Ludovic Courtès Fixes a bug introduced with the Shepherd 0.9.2 upgrade in commit 1ba0e38267c9ff8bb476285091be6e297bbf136e whereby files opened by, say, the 'start' method of 'urandom-seed', could leak into the execution environment of some other service--e.g., 'term-tty4'. * gnu/services/shepherd.scm (shepherd-configuration-file)[config]: Override 'call-with-input-file' and 'call-with-output-file'. 2022-09-11services: shepherd: Open /dev/null as O_CLOEXEC.Ludovic Courtès Failing to do that, that file descriptor could be inherited by child processes as of Shepherd 0.9.2. * gnu/services/shepherd.scm (shepherd-configuration-file): Open /dev/null as O_CLOEXEC.