diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-05-25 16:52:29 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-05-25 16:52:29 +0200 |
commit | cca25a67693bb68a1884a081b415a43fad1e8641 (patch) | |
tree | fc7575ad5a33b3c7d1f61f670dfe134913df7f28 /manifest.scm | |
parent | 5a7cb59648d102168bd4ecd16f36b69e0f594be1 (diff) | |
download | guix-cca25a67693bb68a1884a081b415a43fad1e8641.tar.gz guix-cca25a67693bb68a1884a081b415a43fad1e8641.zip |
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
Diffstat (limited to 'manifest.scm')
0 files changed, 0 insertions, 0 deletions