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

Rob spamrefuse at yahoo.com
Sun Apr 24 19:02:44 PDT 2005


--- Daniel O'Connor <doconnor at 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 


More information about the freebsd-stable mailing list