Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1054448

Summary: [linearstore] Replace use of /dev/urandom with c random generator calls
Product: Red Hat Enterprise MRG Reporter: Kim van der Riet <kim.vdriet>
Component: qpid-cppAssignee: Kim van der Riet <kim.vdriet>
Status: CLOSED CURRENTRELEASE QA Contact: Irina Boverman <iboverma>
Severity: low Docs Contact:
Priority: low    
Version: DevelopmentCC: esammons, freznice, iboverma, jross, mtoth, zkraus
Target Milestone: 3.0Keywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-35 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 709325    

Description Kim van der Riet 2014-01-16 20:51:44 UTC
The use of /dev/urandom for random numbers is considered unfriendly to other systems on a machine that might depend upon this source.

The current use-case is for Journal serial numbers; the randomness of the C rand() call should be good enough, but it requires a 64-bit number. Construct this using several smaller numbers from rand() or random().

Comment 1 Kim van der Riet 2014-01-16 20:52:28 UTC
Upstream bug: https://issues.apache.org/jira/browse/QPID-5487

Comment 2 Kim van der Riet 2014-01-16 21:14:26 UTC
Fixed in r.1558913

See upstream bug for further details.