Bug 721 - --with-prngd-socket=/path/to/file seems broken
Summary: --with-prngd-socket=/path/to/file seems broken
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: UltraSPARC Solaris
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-30 02:19 AEST by Duncan Ferguson
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Ferguson 2003-09-30 02:19:06 AEST
I moved the prndg pool to /var/spool/prndg/pool and attempted to configure
OpenSSH with the above command, but always got the error "PRNG not seeded" when
trying to run sshd.

Leaving the prngd pool in one of the default places (/var/run/egd-pool), sshd
runs without problem.

Using the configure option worked in 3.4p1 and i have only just upgraded to
3.7.1p2 to find this issue.
Comment 1 Darren Tucker 2004-02-10 14:17:14 AEDT
I think your OpenSSL has found the prngd socket and considers itself to be
"self-seeded".  This would cause OpenSSH's random helper (which is what uses the
prngd socket) to not be built at all.

When you configure OpenSSH, what do the "Random number source:" and
"ssh-rand-helper collects from" lines on the summary display say?

I suspect you just need to add "--with-rand-helper" to your configure command to
build the random helper despite what OpenSSL claims.
Comment 2 Darren Tucker 2004-03-30 13:11:52 AEST
Please reopen if configuring --with-rand-helper doesn't solve it.
Comment 3 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED