[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/17: services: guix: Depend on 'avahi-daemon' when 'discover?' is set.
From: |
guix-commits |
Subject: |
02/17: services: guix: Depend on 'avahi-daemon' when 'discover?' is set. |
Date: |
Wed, 24 May 2023 09:05:32 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 689460f82ad0f33253cd2e1b621febf1ed74a402
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed May 24 12:44:58 2023 +0200
services: guix: Depend on 'avahi-daemon' when 'discover?' is set.
Previously, with shepherd 0.10.0, guix-daemon would start quickly,
possibly before avahi-daemon is running. Consequently, its "guix
discover" child process would exit immediately with a warning saying
"Avahi daemon is not running".
* gnu/services/base.scm (guix-shepherd-service): When DISCOVER? is true,
add 'avahi-daemon' to 'requirement'.
---
gnu/services/base.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index fd79c9e232..c5b06b57e8 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1842,7 +1842,8 @@ proxy of 'guix-daemon'...~%")
(list (shepherd-service
(documentation "Run the Guix daemon.")
(provision '(guix-daemon))
- (requirement '(user-processes))
+ (requirement `(user-processes
+ ,@(if discover? '(avahi-daemon) '())))
(actions (list shepherd-set-http-proxy-action
shepherd-discover-action))
(modules '((srfi srfi-1)
- branch master updated (514644c102 -> 6d0571215d), guix-commits, 2023/05/24
- 02/17: services: guix: Depend on 'avahi-daemon' when 'discover?' is set.,
guix-commits <=
- 11/17: gnu: guile-ini: Update to 0.5.3., guix-commits, 2023/05/24
- 16/17: gnu: guile-png: Update to 0.4.1., guix-commits, 2023/05/24
- 03/17: gnu: graphviz: Add "minimal" variant., guix-commits, 2023/05/24
- 06/17: doc: contributing.texi: Specify recipient via equal sign in 'git send-email --to'., guix-commits, 2023/05/24
- 17/17: gnu: isync: Add patch to improve openssl-3 compatibility., guix-commits, 2023/05/24
- 15/17: gnu: guile-png: Fix cross-building., guix-commits, 2023/05/24
- 04/17: self: Build against "graphviz-minimal"., guix-commits, 2023/05/24
- 07/17: doc: guix.texi: Add Texinfo line breaks., guix-commits, 2023/05/24
- 08/17: gnu: fakeroot: Update to 1.31., guix-commits, 2023/05/24
- 10/17: gnu: guile-smc: Fix cross-building., guix-commits, 2023/05/24