Date: Mon, 4 Apr 2005 13:40:33 +0200 (CEST) From: Adrian Steinmann <ast@marabu.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dougb@FreeBSD.org Subject: i386/79525: entropy_save_sz variable not really being used in save-entropy.sh Message-ID: <200504041140.j34BeXdI068577@nico.marabu.ch> Resent-Message-ID: <200504041150.j34Bo72M021881@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79525
>Category: i386
>Synopsis: entropy_save_sz variable not really being used in save-entropy.sh
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 04 11:50:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Adrian Steinmann
>Release: FreeBSD 5.4-PRERELEASE i386
>Organization:
Webgroup Consulting AG
>Environment:
FreeBSD-stable
>Description:
>System: FreeBSD nico.marabu.ch 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #52: Mon Mar 21 20:44:52 CET 2005 root@nico.marabu.ch:/usr/obj/usr/src/sys/NIC i386
Description:
By chance I noticed that the desired intent of the tunable
entropy_save_sz may be missed in the current version of
/usr/libexec/save-entropy:
--- save-entropy.sh 2001/01/14 07:18:31 1.2
+++ save-entropy.sh 2005/03/23 07:12:37
@@ -86,7 +86,7 @@
done
dd if=/dev/random of="${entropy_dir}/saved-entropy.1" \
- bs=2048 count=1 2> /dev/null
+ bs=${entropy_save_sz} count=1 2> /dev/null
exit 0
Adrian
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504041140.j34BeXdI068577>
