Date: Sat, 23 Oct 2004 15:15:54 -0700 From: Sean Chittenden <sean@chittenden.org> To: rc@FreeBSD.org Subject: rc.d/sshd entropy seeded detection not correct... Message-ID: <1B7E7779-2541-11D9-B8F6-000A95C705DC@chittenden.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Simple patch, just wondering if this was intentional. Looks like a bug
to me and causes a headache/5min delay for startup on fresh installs.
I'd like to get this into RELENG_5, maybe 5_3 if people agree its a
bug. I think it is and caused me quite a panic when the box didn't
come up in a timely manner. -sc
[-- Attachment #2 --]
Index: sshd
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/sshd,v
retrieving revision 1.7
diff -u -r1.7 sshd
--- sshd 7 Oct 2004 13:55:26 -0000 1.7
+++ sshd 23 Oct 2004 21:47:12 -0000
@@ -22,7 +22,7 @@
{
(
seeded=`sysctl -n kern.random.sys.seeded 2>/dev/null`
- if [ "${seeded}" != "" ] ; then
+ if [ "${seeded}" != "1" ] ; then
warn "Setting entropy source to blocking mode."
echo "===================================================="
echo "Type a full screenful of random junk to unblock"
[-- Attachment #3 --]
--
Sean Chittenden
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B7E7779-2541-11D9-B8F6-000A95C705DC>
