From d8e739e19af48c2dab884d61ecd22e8a54e23883 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 26 Nov 2011 13:21:54 -0500 Subject: urandom: move seed from /var/run to /var/lib We want the seed to be preserved across reboots, so move it to /var/lib. Signed-off-by: Mike Frysinger --- conf.d/urandom | 2 +- init.d/urandom.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.d/urandom b/conf.d/urandom index fbaf4e81..f721a249 100644 --- a/conf.d/urandom +++ b/conf.d/urandom @@ -2,4 +2,4 @@ # (say for crypt swap), so you will need to customize this # behavior. If you have /var on a separate partition, then # make sure this path lives on your root device somewhere. -urandom_seed="/var/run/random-seed" +urandom_seed="/var/lib/misc/random-seed" diff --git a/init.d/urandom.in b/init.d/urandom.in index 7fe5e590..bc48066b 100644 --- a/init.d/urandom.in +++ b/init.d/urandom.in @@ -2,7 +2,7 @@ # Copyright (c) 2007-2009 Roy Marples # Released under the 2-clause BSD license. -: ${urandom_seed:=${URANDOM_SEED:-/var/run/random-seed}} +: ${urandom_seed:=${URANDOM_SEED:-/var/lib/misc/random-seed}} description="Initializes the random number generator." depend() -- cgit v1.2.3