[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-dev
Subject: Re: solaris 10 openssl problem
From: "Ralf S. Engelschall" <rse () openpkg ! org>
Date: 2005-03-13 19:11:58
Message-ID: 20050313191158.GA18399 () engelschall ! com
[Download RAW message or body]
On Sun, Mar 13, 2005, robert j. wozny wrote:
> When the openssl command is run, it fail with error which states, that
> it was unable to get sufficient entropy.
> On Solaris 10, the open(2) call is made with an O_NOFOLLOW option.
> (which isn't exist in the previous version of Solaris).
> On Solaris 9 and 10, /dev/random and /dev/urandom are symbolic links:
>
> /dev/urandom -> ../devices/pseudo/random@0:urandom
>
> So, on Solaris 10, open(2) fails, because of O_NOFOLLOW option (don't
> follow links...).
>
> Workaround: remove O_NOFOLLOW from rand_unix.c and rebuild all rpms
> depending on OpenSSL. see attached patch.
Yes, the same change was applied to OpenSSL 0.9.8-dev on 13-Jan-2005,
too. I've taken it over into OpenPKG CURRENT and merged it into 2.3:
http://cvs.openpkg.org/chngview?cn=22567
Thanks for your feedback and support.
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List openpkg-dev@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic