--- Daniel O'Connor <doconnor@gsoft.com.au> 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
Daniel O'Connor
2005-Apr-24 07:36 UTC
[PATCH] Re: /etc/rc.d/sshd : "kldload random" missing?
On Sun, 24 Apr 2005 17:39, Rob wrote:> > 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.Hmm I'm stuck for ideas then. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050425/e6b9f9d3/attachment.bin
Daniel O'Connor
2005-Apr-24 17:40 UTC
[PATCH] Re: /etc/rc.d/sshd : "kldload random" missing?
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. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: random-kld.diff Type: text/x-diff Size: 605 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050425/d23d2a24/random-kld.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050425/d23d2a24/attachment.bin