conf/75722: /usr/libexec/save-entropy ignores entropy_save_sz
[patch]
Nicolas Rachinsky
list at rachinsky.de
Sun Jan 2 15:50:26 GMT 2005
>Number: 75722
>Category: conf
>Synopsis: /usr/libexec/save-entropy ignores entropy_save_sz [patch]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 02 15:50:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Nicolas Rachinsky
>Release: FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD pc1 5.3-RELEASE FreeBSD 5.3-RELEASE #4: Sat Jan 1 17:40:50 CET 2005 root at pc1:/usr/src/sys/i386/compile/PC1 i386
>Description:
/usr/libexec/save-entropy ignores entropy_save_sz from rc.conf
>How-To-Repeat:
change entropy_save_sz to a non default value. It will be ignored.
>Fix:
Apply the following patch in src/libexec/save-entropy:
--- save-entropy.sh.orig Sun Jan 2 16:41:55 2005
+++ save-entropy.sh Sun Jan 2 16:45:20 2005
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list