diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-04-20 21:10:51 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-21 16:16:37 +0200 |
commit | 9385c82c5471754635b4d2e90a3a77a7e91d7275 (patch) | |
tree | b6299b45e2d4e95ba6d37706b0c2f0e3ca6dbd3f /gnu | |
parent | e45306c1982aee194243cf661295c7ca776d879f (diff) | |
download | guix-9385c82c5471754635b4d2e90a3a77a7e91d7275.tar.gz guix-9385c82c5471754635b4d2e90a3a77a7e91d7275.zip |
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'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/base.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 75d4e7b741..e8eae72aa2 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1428,7 +1428,11 @@ the tty to run, among other things." (list (shepherd-service (documentation "Run libc's name service cache daemon (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 (list #$nscd "-f" #$nscd.conf "--foreground") |