Bug#759590: Error in GnuTLS initialization: Failed to acquire random data.
Evgeni Golov
evgeni at debian.org
Sat Aug 30 12:01:09 UTC 2014
Hi Bob,
thanks for your debugging,
On Sat, Aug 30, 2014 at 01:31:39AM -0600, Bob Proulx wrote:
> Klaus,
>
> > $ gnutls-cli
> > Error in GnuTLS initialization: Failed to acquire random data.
>
> Are you setting LD_PRELOAD to libeatmydata.so? I am. This is
> definitely related to the problem for me. Is it for you too?
>
> $ env -i gnutls-cli
> No hostname specified
>
> $ env -i LD_PRELOAD=/usr/lib/libeatmydata/libeatmydata.so gnutls-cli
> Error in GnuTLS initialization: Failed to acquire random data.
> No hostname specified
>
> $ unset LD_PRELOAD ; gnutls-cli
> No hostname specified
I can reproduce the original mutt issue, when wrapping mutt with
eatmydata. The interesting thing is, that mutt will open urandom via
open("/dev/urandom", O_RDONLY)
when started directly, but not, when eatmydata is involved.
This seems to be the issue for the eatmydata case. Not sure about the
others, though.
Greets
Evgeni
--
Bruce Schneier can read and understand Perl programs.
More information about the Pkg-gnutls-maint
mailing list