[PATCH] Do not rm -f $SAVEDFILE because that is a Bad Idea when $SAVEDFILE is a symlink. Simply overwriting the file is easier and better.
root
root at av8n.com
Thu Sep 16 21:49:15 UTC 2010
---
urandom | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/urandom b/urandom
index 26047a4..9614f2a 100755
--- a/urandom
+++ b/urandom
@@ -57,7 +57,6 @@ case "$1" in
# an explicit reseed of the yarrow.
) >/dev/urandom
- rm -f $SAVEDFILE
# Write a new seed into $SAVEDFILE because re-using a seed
# compromises security. Each time we re-seed, we want the
# seed to be as different as possible.
--
1.5.6.5
--------------090006080405020108090104--
More information about the Pkg-sysvinit-devel
mailing list