From ast@marabu.ch  Mon Apr  4 11:48:06 2005
Return-Path: <ast@marabu.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 2458E16A4CE; Mon,  4 Apr 2005 11:48:06 +0000 (GMT)
Received: from oneplusone.ch (oneplusone.ch [212.55.208.170])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id EB3ED43D5D; Mon,  4 Apr 2005 11:48:04 +0000 (GMT)
	(envelope-from ast@marabu.ch)
Received: from oneplusone.ch (localhost [127.0.0.1])
	by oneplusone.ch (8.13.3/8.13.3) with ESMTP id j34Bm25b021158
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 4 Apr 2005 13:48:02 +0200 (CEST)
	(envelope-from ast@marabu.ch)
Received: (from uucp@localhost)
	by oneplusone.ch (8.13.3/8.13.3/Submit) with UUCP id j34Bm2h5021157;
	Mon, 4 Apr 2005 13:48:02 +0200 (CEST)
	(envelope-from ast@marabu.ch)
Received: from nico.marabu.ch (nico.marabu.ch [192.168.21.121])
	by pano.marabu.ch (8.12.10/8.12.10) with ESMTP id j34BeYRI069723;
	Mon, 4 Apr 2005 13:40:34 +0200 (CEST)
	(envelope-from ast@nico.marabu.ch)
Received: from nico.marabu.ch (localhost.marabu.ch [127.0.0.1])
	by nico.marabu.ch (8.13.3/8.13.3) with ESMTP id j34BeXpM068578;
	Mon, 4 Apr 2005 13:40:33 +0200 (CEST)
	(envelope-from ast@nico.marabu.ch)
Received: (from ast@localhost)
	by nico.marabu.ch (8.13.3/8.13.3/Submit) id j34BeXdI068577;
	Mon, 4 Apr 2005 13:40:33 +0200 (CEST)
	(envelope-from ast)
Message-Id: <200504041140.j34BeXdI068577@nico.marabu.ch>
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: entropy_save_sz variable not really being used in save-entropy.sh
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 04 11:50:07 GMT 2005
>Closed-Date:    Mon Apr 11 01:17:49 GMT 2005
>Last-Modified:  Mon Apr 11 01:17:49 GMT 2005
>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:
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Apr 11 01:15:25 GMT 2005 
State-Changed-Why:  

This contains the same information as conf/75722, which also 
has more complete information about a related problem with 
rc.d/random.  

In general, it is good practice to check the PR database 
before submitting a new PR, but we appreciate your 
notification of this problem nonetheless.  


Responsible-Changed-From-To: freebsd-i386->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Mon Apr 11 01:15:25 GMT 2005 
Responsible-Changed-Why:  

I wrote this script. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79525 
>Unformatted:
