me
/
guix
Archived
1
0
Fork 0

services: nscd: Depend on syslogd.

This gets rid of nscd debug messages on the console at boot time.

* gnu/services/base.scm (nscd-shepherd-service): Add dependency on
'syslogd'.
master
Ludovic Courtès 2023-04-20 21:10:51 +02:00
parent e45306c198
commit 9385c82c54
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 1 deletions

View File

@ -1428,7 +1428,11 @@ the tty to run, among other things."
(list (shepherd-service (list (shepherd-service
(documentation "Run libc's name service cache daemon (nscd).") (documentation "Run libc's name service cache daemon (nscd).")
(provision '(nscd)) (provision '(nscd))
(requirement '(user-processes))
;; Logs are written with syslog(3), which writes to /dev/console
;; when nobody's listening--ugly. Thus, wait for syslogd.
(requirement '(user-processes syslogd))
(start #~(make-forkexec-constructor (start #~(make-forkexec-constructor
(list #$nscd "-f" #$nscd.conf "--foreground") (list #$nscd "-f" #$nscd.conf "--foreground")