GNU bug report logs - #76262
[PATCH 0/3] Remove uses of 'waitpid' in Shepherd services

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Thu, 13 Feb 2025 11:45:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH 0/3] Remove uses of 'waitpid' in Shepherd services
Date: Thu, 13 Feb 2025 12:43:47 +0100
Hello,

On IRC, xelxebar reported an issue with the ‘transmission-daemon’
service.  This patch series fixes this and related anti-patterns
found in several services.

Feedback welcome!

Ludo’.

Ludovic Courtès (3):
  services: transmission: Remove custom ‘stop’ implementation.
  services: Use ‘spawn-command’ instead of ‘fork’ + ‘waitpid’.
  home: services: unclutter: Add a ‘stop’ method.

 gnu/home/services/desktop.scm |  6 +++---
 gnu/services/databases.scm    | 16 +++++++++-------
 gnu/services/file-sharing.scm | 31 +++++--------------------------
 gnu/services/networking.scm   | 26 +++++++++++++-------------
 gnu/services/web.scm          | 31 +++++++++----------------------
 5 files changed, 39 insertions(+), 71 deletions(-)


base-commit: 2afb48804e4ff829ed5ed97757fde0a2cd8e39fc
-- 
2.48.1





This bug report was last modified 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.