Did my following mail make it to the list?  I haven't seen received any
posts (including mine) since I subscribed yesterday, and I don't see my post
in the progressive-comp.com or mail-archive.com archives.

If it did get through, I have an update -- please see below.

"Dan Harkless" <[EMAIL PROTECTED]> writes:
> 
> Howdy.  I just installed openssl 0.9.6 on my Solaris 2.5 system and I'm
> trying to use it to create a Certificate Signing Request, but it fails to
> read entropy from egd's socket in a very bizarre way.
> 
> I believe egd (0.8) is set up properly, because gnupg (1.0.4) appears to
> successfully use its socket -- `egc.pl /usr/local/etc/egd/entropy get'
> verifies that the entropy pool goes down during a `gnupg --gen-random' run,
> for instance.
> 
> However, when I try to run:
> 
>     openssl genrsa -rand /usr/local/etc/egd/entropy -des3 1024 -out server.key
> 
> it just hangs.  What's really strange is that even though my shell (tcsh)
> behaves like the process is hanging, if you go to another window and do a
> `ps -ef | fgrep openssl', the process no longer exists!!
> 
> In the shell you can even CTRL-Z the supposed openssl process and then say
> "jobs -l" and it will show what used to be the openssl's PID (if you caught
> that via an early `ps -ef' run), but which no longer exists (i.e. the
> process didn't stay around but just change names or something).
> Nevertheless, you can `forw' it again and tcsh will behave like it's still
> around.
> 
> If you run openssl under truss, these are the last few entries:
> 
>     getpid()                                        = 17332 [17331]
>     open("/dev/urandom", O_RDONLY)                  Err#2 ENOENT
>     getuid()                                        = 0 [0]
>     time()                                          = 972466512
>     close(3)                                        = 0
>     stat("/usr/local/etc/egd/entropy", 0xEFFFED98)  = 0
>     open("/usr/local/etc/egd/entropy", O_RDONLY) (sleeping...)
> 
> It will just hang on that last entry, and again, if you go looking for the
> openssl process with ps, it's no longer there.  Somehow even truss doesn't
> notice the process disappear.
> 
> This behavior is so strange I guess I might be butting up against a Solaris
> bug?  I haven't applied the recommended patch cluster in awhile...

I applied the latest recommended patches and rebooted, and the problem still
exists.  openssl mysteriously disappears without telling anyone (except the
process table) about it.  Anyone out there running egd and openssl on
Solaris 2.5?  Anyone ever heard of anything like this before?

--
Dan Harkless
SpeedGate Communications, Inc.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to