guix/gnu
Ludovic Courtès e36d6ab24b
services: Use ‘spawn-command’ instead of ‘fork’ + ‘waitpid’.
Fixes <https://issues.guix.gnu.org/76315>.

This is more concise and more robust: these ‘waitpid’ calls would
compete with those made by shepherd’s event loop upon SIGCHLD, and they
could hang forever, as illustrated with ‘dhcp-client-service-type’
in <https://issues.guix.gnu.org/76315>.

* gnu/services/databases.scm (postgresql-role-shepherd-service): Use
‘spawn-command’ instead of ‘fork+exec-command’ followed by ‘waitpid’.
* gnu/services/networking.scm (dhcp-client-shepherd-service): Change
‘start’ to use ‘spawn-command’ instead of ‘fork+exec-command’ and
* gnu/services/web.scm (patchwork-django-admin-gexp): Use
‘spawn-command’ instead of ‘primitive-fork’ + ‘waitpid’.

Change-Id: I449290bfa46f8600e6ccdb5a6da990ad0cb7948c
Reported-by: Tomas Volf <~@wolfsden.cz>
2025-02-21 15:27:12 +01:00
..
bootloader bootloader/grub: Create grub background image with ungrafted inputs. 2025-01-26 09:32:59 +02:00
build build: marionette: Make it possible to reboot VM during tests. 2025-02-13 00:07:21 +09:00
home home: services: setup-environment: Set GUIX_LOCPATH. 2025-02-21 15:27:11 +01:00
installer gnu: Fix some misspellings. 2025-02-19 11:21:47 +02:00
machine gnu: Fix some misspellings. 2025-02-19 11:21:47 +02:00
packages gnu: Add python-pytooling. 2025-02-21 15:27:11 +01:00
services services: Use ‘spawn-command’ instead of ‘fork’ + ‘waitpid’. 2025-02-21 15:27:12 +01:00
system gnu: Fix some misspellings. 2025-02-19 11:21:47 +02:00
tests tests: web: Add nginx+anonip test. 2025-02-13 00:07:21 +09:00
artwork.scm
bootloader.scm gnu: Fix some misspellings. 2025-02-19 11:21:47 +02:00
ci.scm
compression.scm
home.scm home: services: Add ‘transient’ and ‘timer’ to ‘%base-home-services’. 2025-01-26 22:09:27 +01:00
image.scm
installer.scm
local.mk gnu: local.mk: Update with missing patches. 2025-02-20 14:33:19 -08:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm