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>
This commit is contained in:
45mg 2024-12-25 12:14:23 -05:00 committed by Ludovic Courtès
parent 097fb030f6
commit dbbef3d57f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1679,7 +1679,7 @@ (define config-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"))