From 4a32f58aa135e97eedf23f725586f9651d726e73 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 21 Dec 2017 10:20:50 +0100 Subject: services: urandom-seed: Depend on udev. Suggested by Leo Famulari . * gnu/services/base.scm (urandom-seed-shepherd-service): Add 'udev' to 'requirement'. --- gnu/services/base.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/services') diff --git a/gnu/services/base.scm b/gnu/services/base.scm index acc5c33f58..7fc8f6aa7e 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -529,7 +529,10 @@ in KNOWN-MOUNT-POINTS when it is stopped." (list (shepherd-service (documentation "Preserve entropy across reboots for /dev/urandom.") (provision '(urandom-seed)) - (requirement '(file-systems)) + + ;; Depend on udev so that /dev/hwrng is available. + (requirement '(file-systems udev)) + (start #~(lambda _ ;; On boot, write random seed into /dev/urandom. (when (file-exists? #$%random-seed-file) -- cgit v1.2.3