me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/gnu/services
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
..
admin.scm
audio.scm
auditd.scm
authentication.scm
avahi.scm
backup.scm services: Add restic-backup service. 2024-05-25 15:24:14 +02:00
base.scm services: guix: Use Shepherd 0.10 API for actions. 2024-05-05 12:06:23 +02:00
certbot.scm
cgit.scm
ci.scm
configuration.scm
cuirass.scm services: cuirass: Remove use-substitutes? configuration option. 2024-05-04 19:14:25 +02:00
cups.scm
databases.scm services: postgresql: Simplify execution of ‘initdb’. 2024-03-30 01:01:32 +01:00
dbus.scm
desktop.scm services: Add gvfs-service-type. 2024-04-29 08:54:36 +08:00
dict.scm
dns.scm
docker.scm gnu: docker: Allow passing tarballs for images in oci-container-configuration. 2024-05-25 15:34:53 +02:00
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm services: Add the Guix Home service. 2024-04-17 12:13:03 +02:00
herd.scm
hurd.scm
kerberos.scm
ldap.scm
lightdm.scm services: lightdm: Use ‘make-forkexec-constructor’. 2024-04-28 23:37:24 +02:00
linux.scm
lirc.scm
mail.scm
mcron.scm
messaging.scm
monitoring.scm
networking.scm
nfs.scm
nix.scm
pam-mount.scm
pm.scm gnu: services: Add power-profiles-daemon-service-type. 2024-05-15 20:58:03 +01:00
rsync.scm
samba.scm
science.scm
sddm.scm
security-token.scm
security.scm
shepherd.scm services: shepherd: Failure to load a service does not prevent booting. 2024-05-25 16:52:29 +02:00
sound.scm
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm services: build-vm: Provide only one locale. 2024-04-29 22:52:08 +02:00
vnc.scm
vpn.scm
web.scm
xorg.scm services: gdm: Use ‘make-forkexec-constructor’. 2024-04-28 23:41:50 +02:00