i386/79525: entropy_save_sz variable not really being used in save-entropy.sh

Adrian Steinmann ast at marabu.ch
Mon Apr 4 04:50:08 PDT 2005


>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 at 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:


More information about the freebsd-i386 mailing list