Bug 768688

Summary: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded
Product: [Fedora] Fedora Reporter: Eddie Lania <eddie>
Component: dkim-milterAssignee: Jim Radford <radford>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: radford
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-17 23:41:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eddie Lania 2011-12-17 23:24:41 UTC
Description of problem:

I set up dkim-milter on a new machine but can't get it to work.

I generated a new key but it doesn't work:

Dec 17 23:56:27 zeus dkim-filter[5625]: pBHMuP5f005672 SSL error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded; error:04088003:rsa routines:RSA_setup_blinding:BN lib; error:04066044:rsa routines:RSA_EAY_PRIVATE_ENCRYPT:internal error
Dec 17 23:56:27 zeus dkim-filter[5625]: pBHMuP5f005672: dkim_eom(): internal error from libdkim: signature generation failed (status 0, length 32535)

Version-Release number of selected component (if applicable):

dkim-milter-2.8.3-10.fc16.x86_64

How reproducible: Always


Steps to Reproduce:
1. Install dkim-milter
2. Generate key with dkim-genkey and put relevant TXT record in DNS, etc.
3. Start dkim-milter and sendmail and observe.
  
Actual results: dkim-milter fails. Sendmail cannot send/receive.


Expected results: No such problem


Additional info:

Comment 1 Eddie Lania 2011-12-17 23:41:32 UTC
Darn, it was selinux blocking urandom

setsebool -P global_ssp 1 solved it.