[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: services: root-file-system: Remove reference to 'stop-logging'.
From: |
guix-commits |
Subject: |
04/09: services: root-file-system: Remove reference to 'stop-logging'. |
Date: |
Sat, 20 May 2023 19:17:12 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d0168e1895f95eb69f47f799706167afe6976fa6
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat May 20 15:34:46 2023 +0200
services: root-file-system: Remove reference to 'stop-logging'.
* gnu/services/base.scm (%root-file-system-shepherd-service): In 'stop'
method, remove reference to 'stop-logging'. That procedure is gone in
Shepherd 0.10.0, leading to an unbound-variable exception.
Additionally, calling is unnecessary since 0.4.0, where shepherd logs to
syslog (thus the open file descriptor is not backed by an on-disk file).
---
gnu/services/base.scm | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 79c9661567..fd79c9e232 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -324,11 +324,7 @@ system objects.")))
(sync)
(let ((null (%make-void-port "w")))
- ;; Close 'shepherd.log'.
- (display "closing log\n")
- ((@ (shepherd comm) stop-logging))
-
- ;; Redirect the default output ports..
+ ;; Redirect the default output ports.
(set-current-output-port null)
(set-current-error-port null)
- branch master updated (bd7b795aeb -> 7ddc239fc3), guix-commits, 2023/05/20
- 04/09: services: root-file-system: Remove reference to 'stop-logging'.,
guix-commits <=
- 01/09: doc: Clarify instructions for hibernation on a swap file., guix-commits, 2023/05/20
- 02/09: system: pam: Change 'stop' method to return #f., guix-commits, 2023/05/20
- 07/09: gnu: guile-dsv: Update to 0.6.0., guix-commits, 2023/05/20
- 05/09: services: Transient inetd services inherit requirements., guix-commits, 2023/05/20
- 06/09: gnu: guile-netlink: Update to 1.1.2., guix-commits, 2023/05/20
- 08/09: gnu: cagebreak: Update to 2.1.2., guix-commits, 2023/05/20
- 09/09: gnu: Add labwc., guix-commits, 2023/05/20
- 03/09: services: agetty: 'stop' method does nothing when running is 'idle., guix-commits, 2023/05/20