Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2005 19:02:42 -0700 (PDT)
From:      Rob <spamrefuse@yahoo.com>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: [PATCH] Re: /etc/rc.d/sshd : "kldload random" missing?
Message-ID:  <20050425020243.39167.qmail@web54002.mail.yahoo.com>
In-Reply-To: 6667

next in thread | raw e-mail | index | archive | help

--- 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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050425020243.39167.qmail>