[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#630970: added code to trigger disk read/write in svn



Hi, 

I added some code in svn that starts a process in the background which
hopefully creates some entropy by trigering disk read/write:

+TMPFILE=`mktemp`
+
+## Start process in the background: 
+egrep 'ab' /etc/* >> $TMPFILE 2>&1 &
+
+# lifetime 10 years
 $opensslbin req -new -x509 -nodes -sha1 \
       -config $certconf -days 3650 \
-      -out $privkey -keyout $privkey > /dev/null 2>&1 \
+      -out $privkey -keyout $privkey >> $TMPFILE 2>&1 \
   || echo "error: problems running openssl." 1>&2
 
+rm $TMPFILE

We have to test if that helps.
Cheers,

	Andi




Reply to: