From owner-freebsd-stable@FreeBSD.ORG Sun Apr 24 08:09:12 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 1691F16A4CE for ; Sun, 24 Apr 2005 08:09:12 +0000 (GMT) Received: from web54009.mail.yahoo.com (web54009.mail.yahoo.com [206.190.36.233]) by mx1.FreeBSD.org (Postfix) with SMTP id 81D6343D41 for ; Sun, 24 Apr 2005 08:09:11 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 54132 invoked by uid 60001); 24 Apr 2005 08:09:11 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=HM6YXVD/untwQp8CwtMTG+k9ZLuoGAAzsvFG418luz10nnqpCOpCVueDBFcSWl8ia/aB60UHFNBlYjtheaIBXWBfaphsnUhhezHOsCjioL70NAycrhM5SyaE2YiOBTUod6PiBl/L7oVX/uv/BtYES+LXzeiPGnArqDnrCt3pX+Q= ; Message-ID: <20050424080911.54130.qmail@web54009.mail.yahoo.com> Received: from [147.46.44.181] by web54009.mail.yahoo.com via HTTP; Sun, 24 Apr 2005 01:09:10 PDT Date: Sun, 24 Apr 2005 01:09:10 -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: Sun, 24 Apr 2005 08:09:12 -0000 --- Daniel O'Connor wrote: > On Sun, 24 Apr 2005 16:16, Rob wrote: > > Either I don't understand this, or it is not > > working > > properly. > > > > I am using 5-Stable, not Current, so the > 'cleanvar' > > is not there. So in /etc/rc.d/sshd I have this > > line: > > > > # REQUIRE: LOGIN random > > > > I then do: > > > > /etc/rc.d/random stop > > /etc/rc.d/sshd stop > > /etc/rc.d/sshd start > > > > But the random script is not executed. I have > added > > a echo statement in the random_start() function, > > but nothing is printed out. > > It seems that random is not started at all when > > sshd is started. > > Or do I misunderstand something here? > > Try putting random_enable="YES" in /etc/rc.conf. > > That gets it called here (although I already had > random.ko loaded so I'm not 100% sure it worked) Oh? There's no such 'random_enable' entry in /etc/defaults/rc.conf on my 5.4-Stable system. Is this a Current only thing? Moreover, on my system, '/etc/rc.d/random rcvar' has no output at all. Adding an entry in /etc/rc.conf doesn't change that. Nevertheless, I have tried your advice, but to no avail. Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com