guix/gnu
Ludovic Courtès 1819512073
services: 'modify-services' preserves service ordering.
Fixes <https://issues.guix.gnu.org/63921>.

The regression was introduced in
dbbc7e9461, which changed the order of
services.  As a result, someone using 'modify-services' could find
themselves with incorrect ordering of expressions in the "boot" script,
whereby the cleanup expressions would come after (execl ".../shepherd").
This, in turn, would lead shepherd to error out at boot with EADDRINUSE
on /var/run/shepherd/socket.

* gnu/services.scm (%delete-service, %apply-clauses): Remove.
(clause-alist): New macro.
(apply-clauses): New procedure.
(modify-services): Use it.  Adjust docstring.
* tests/services.scm ("modify-services: do nothing"): Remove 'sort' call.
("modify-services: delete service"): Likewise, and add 't4' service.
("modify-services: change value"): Remove 'sort' call and fix expected value.
2023-06-06 11:54:39 +02:00
..
bootloader
build hurd-boot: Symlink /hurd before setting up translators. 2023-05-17 22:26:06 +02:00
home home: services: Add msmtp service. 2023-05-30 00:15:30 +02:00
installer installer: Filter out C.UTF-8 from the list of locales. 2023-04-30 23:11:09 +02:00
machine
packages gnu: sbcl-stmx: Update to 2.0.5-2.f71e742. 2023-06-06 10:46:45 +02:00
services services: screen-locker-service-type: Configurable PAM and setuid. 2023-06-04 10:33:55 +02:00
system system: pam: Change 'stop' method to return #f. 2023-05-21 01:04:39 +02:00
tests tests: Fix the Jami service system tests. 2023-05-25 10:17:32 -04:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm
local.mk gnu: proj-7: Add upstream patch. 2023-06-05 17:55:38 +02:00
machine.scm
packages.scm
services.scm services: 'modify-services' preserves service ordering. 2023-06-06 11:54:39 +02:00
system.scm system: Fix reference to Hurd bug in comment. 2023-05-10 00:23:52 +02:00
tests.scm