aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/base.scm
diff options
context:
space:
mode:
author45mg <45mg.writes@gmail.com>2024-12-25 12:14:23 -0500
committerLudovic Courtès <ludo@gnu.org>2024-12-25 23:51:04 +0100
commitdbbef3d57f4f6acd2f9c51c5f9fda97e18fa618c (patch)
treec7ba54a08f583df04280a358833e20e82f78379f /gnu/services/base.scm
parent097fb030f69d05b933897add0a6f3bbdb6ded335 (diff)
downloadguix-dbbef3d57f4f6acd2f9c51c5f9fda97e18fa618c.tar.gz
guix-dbbef3d57f4f6acd2f9c51c5f9fda97e18fa618c.zip
services: syslog: fix configuration file argument
* gnu/services/base.scm (syslog-shepherd-service): Separate incorrectly combined arguments which resulted in an argument like "-f /etc/syslog.conf" being passed to syslogd, leading it to ignore the argument and execute without a configuration file. Effects of this included no log files being written, though the Shepherd service ran successfully. Ref: https://issues.guix.gnu.org/70677#4-lineno7 Change-Id: I3dbe00eabd4a10804e554c12e1466483c0b185b7 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services/base.scm')
-rw-r--r--gnu/services/base.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index fc604f029a..75ce4e8fe5 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1679,7 +1679,7 @@ reload its settings file.")))
(start #~(make-forkexec-constructor
(list #$(syslog-configuration-syslogd config)
;; the -f option here is compatible with rsyslog
- #$(string-append "-f " syslog.conf)
+ "-f" #$syslog.conf
#$@(syslog-configuration-extra-options config))
#:file-creation-mask #o137
#:pid-file "/var/run/syslog.pid"))