[PATCH] Re: /etc/rc.d/sshd : "kldload random" missing?

Rob spamrefuse at yahoo.com
Tue Apr 19 01:18:57 PDT 2005


--- Daniel O'Connor <doconnor at gsoft.com.au> wrote:
> On Tue, 19 Apr 2005 17:06, Daniel O'Connor wrote:
> > On Tue, 19 Apr 2005 16:43, Rob wrote:
> > > Should I submit a patch here?
> > >
> > > Following patch works fine for me
> > > (be aware some lines are wrapped :[ )
> >
> > I think a more correct solution would be to make a
> 'random' rc.d script
> > which sshd depends on (and others if they're found
> to need it)
> 
> Heh actually now that I look.. there IS a random
> script already..
> 
> Perhaps..
> [inchoate 17:08] /etc/rc.d >diff -u sshd.orig sshd
> --- sshd.orig   Tue Apr 19 17:07:52 2005
> +++ sshd        Tue Apr 19 17:07:59 2005
> @@ -5,7 +5,7 @@
>  #
> 
>  # PROVIDE: sshd
> -# REQUIRE: LOGIN cleanvar
> +# REQUIRE: LOGIN cleanvar random
> 
>  . /etc/rc.subr

My earlier patch to the rc.d/sshd script was for
loading the 'random.ko' module, if needed. But the
random script does not do that.

Should then the random script be extended by also
checking whether loading 'random.ko' needs to be
done?

Rob.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-stable mailing list