From owner-freebsd-stable@FreeBSD.ORG Mon Apr 25 02:02:44 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C53216A4CE for ; Mon, 25 Apr 2005 02:02:44 +0000 (GMT) Received: from web54002.mail.yahoo.com (web54002.mail.yahoo.com [206.190.36.226]) by mx1.FreeBSD.org (Postfix) with SMTP id A913A43D4C for ; Mon, 25 Apr 2005 02:02:43 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 39171 invoked by uid 60001); 25 Apr 2005 02:02:43 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=0ZZiZA69/BQuHOrp1tpFX6IbQFAUhnwlyd47pvuRUAmfQWSw46qSXDhlcp2pfV3BrPWutwZu7i6LBihVAixcim0HMLBhXOqg35pA1c/L/8xl4ILm7a9/cd2DPRVxuOGLpX5igIbaPvXo3ExtQ5Nf15CAAtsZH+XVZrRqEDk0PXg= ; Message-ID: <20050425020243.39167.qmail@web54002.mail.yahoo.com> Received: from [147.47.254.184] by web54002.mail.yahoo.com via HTTP; Sun, 24 Apr 2005 19:02:42 PDT Date: Sun, 24 Apr 2005 19:02:42 -0700 (PDT) From: Rob To: Daniel O'Connor In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD Stable Subject: Re: [PATCH] Re: /etc/rc.d/sshd : "kldload random" missing? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 02:02:44 -0000 --- Daniel O'Connor wrote: > On Sun, 24 Apr 2005 17:39, Rob wrote: > > Nevertheless, I have tried your advice, but to > > no avail. > > Hmm, try this diff it kldload's random if it's not > present. It's not present on 5.4-Stable, so I have patched it. In /etc/rc.d/sshd I also have this: # REQUIRE: LOGIN random However, it still does not work. This is what I observe: 1. If random is not started, it will load the random module, if needed. So this part seems to work OK now. 2. If random module is not loaded and random has not yet started, then I get this: # /etc/rc.d/sshd start Starting sshd. PRNG is not seeded My conclusion is: sshd does simply not call random at all, although I have added it in the "# REQUIRE:" line. Is this a general bug in 5-Stable? Or am I testing this in the wrong way? Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com