guix-play/gnu
Ludovic Courtès cca25a6769
services: shepherd: Failure to load a service does not prevent booting.
Fixes <https://issues.guix.gnu.org/71144>.

Fixes a bug whereby, when loading a service file would fail, for
instance due to an unbound variable, a REPL would be opened on the
console, preventing the system from booting.

This fixes that by isolating service load errors and making them
non-fatal.

* gnu/services/shepherd.scm (shepherd-configuration-file)[config]:
Remove call to ‘call-with-error-handling’.  Use ‘filter-map’ instead of
‘map’ to iterate over service files, and catch exceptions raised by
‘load-compiled’.

Change-Id: Ie6e76ea514837f85386232f797bc77b2882b5c22
2024-05-25 16:52:29 +02:00
..
bootloader bootloader: Add u-boot-starfive-visionfive2-bootloader. 2024-05-22 11:15:30 +08:00
build linux-modules: Ignore nonexistent module files on boot. 2024-03-27 22:23:38 +08:00
home home: services: bash: Move default PS1 prompt to bashrc 2024-04-29 23:54:13 +02:00
installer system: Remove nss-certs from OS templates, adjust doc. 2024-04-18 10:43:06 -04:00
machine
packages gnu: cl-nodgui: Update to 0.6.2.0-1.9d0c973. 2024-05-25 11:16:09 +02:00
services services: shepherd: Failure to load a service does not prevent booting. 2024-05-25 16:52:29 +02:00
system system: images: Add visionfive2 module. 2024-05-22 11:15:30 +08:00
tests gnu: Add tests for oci-container-service-type. 2024-05-25 15:34:57 +02:00
artwork.scm
bootloader.scm
ci.scm ci: Don’t cross-compile to xtensa-ath9k-elf. 2024-04-17 17:29:58 +02:00
compression.scm
home.scm
image.scm
installer.scm
local.mk services: Add restic-backup service. 2024-05-25 15:24:14 +02:00
machine.scm
packages.scm
services.scm
system.scm system: Do not delete all nss-certs packages when they are the same object. 2024-05-15 22:53:31 -04:00
tests.scm