Date: Sat, 23 Apr 2005 23:46:30 -0700 (PDT) From: Rob <spamrefuse@yahoo.com> To: doconnor@gsoft.com.au Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: [PATCH] Re: /etc/rc.d/sshd : "kldload random" missing? Message-ID: <20050424064630.16280.qmail@web54003.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Daniel O'Connor 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 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? Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050424064630.16280.qmail>