--- Daniel O'Connor <doconnor@gsoft.com.au> 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
Jilles Tjoelker
2005-Apr-25 05:20 UTC
[PATCH] Re: /etc/rc.d/sshd : "kldload random" missing?
On Sun, Apr 24, 2005 at 07:02:42PM -0700, Rob wrote:> 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?RCNG doesn't work that way. rc.d scripts do not call one another. The "# REQUIRE:" lines affect rcorder(8) so it should be ok on bootup. -- Jilles Tjoelker