Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 598841 - Segmentation fault when calling `... | rngd -f -r /dev/stdin`
Summary: Segmentation fault when calling `... | rngd -f -r /dev/stdin`
Status: CLOSED DUPLICATE of bug 598835
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rng-tools
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Jeff Garzik
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-02 07:16 UTC by Jan Hutař
Modified: 2013-07-03 02:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-06-02 19:19:04 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Jan Hutař 2010-06-02 07:16:55 UTC
Description of problem:
I'm trying to increase entropy on my system using:

but rngd segfaults instead (in both normal and FIPS mode).

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

How reproducible:

Steps to Reproduce:
1. # cat /proc/sys/kernel/random/entropy_avail
2. # cat /proc/1/exe | gzip -c | rngtest -p | rngd -f -r /dev/stdin

Actual results:
Segmentation fault (core dumped)

Expected results:
Should increase entropy

Additional info:
Same command works on my local workstation with F12 using rng-utils-2.0-4.fc12.x86_64

Backtrace is short:
#0  0x00000002 in ?? ()
#1  0x08048a76 in do_loop (random_step=64, poll_timeout=60) at rngd.c:217
#2  0x08048c2f in main (argc=4, argv=0xbfefa1c4) at rngd.c:262

Comment 1 RHEL Product and Program Management 2010-06-02 07:25:49 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 2 Bill Nottingham 2010-06-02 19:19:04 UTC

*** This bug has been marked as a duplicate of bug 598835 ***

Note You need to log in before you can comment on or make changes to this bug.