Bug 861607

Summary: Unconfined daemon rngd
Product: [Fedora] Fedora Reporter: Steve Grubb <sgrubb>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 18CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 15:27:24 UTC 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: 853068    
Attachments:
Description Flags
a rng starting point none

Description Steve Grubb 2012-09-29 13:12:35 UTC
Description of problem:
The rngd (random number generator daemon) runs as initrc_t. Its a required daemon to pull entropy from a tpm chip or an ivy bridge processor and push it into /dev/random. Its part of the rng-tools package.


Steps to Reproduce:
1. systemctl start rngd.service
2. ps -eZ | grep initrc_t

Comment 1 Dominick Grift 2012-09-29 15:18:56 UTC
Created attachment 619107 [details]
a rng starting point

The enclosed policy module is what i managed to get

i used /dev/urandom as the "Kernel device used for random number input" i could not get anything else to work on my system.

Comment 2 Dominick Grift 2012-09-29 15:21:27 UTC
Theres a bug in rng_admin() where it should call rng_systemctl_rngd($1) instead of rng_systemctl($1)

Comment 3 Daniel Walsh 2012-10-11 18:31:00 UTC
Fixed in selinux-policy-3.11.1-37.fc18.noarch

Comment 4 Fedora Update System 2012-10-23 20:33:36 UTC
selinux-policy-3.11.1-43.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-43.fc18

Comment 5 Fedora Update System 2012-10-26 15:36:28 UTC
selinux-policy-3.11.1-46.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-46.fc18

Comment 6 Fedora Update System 2012-10-26 19:25:40 UTC
Package selinux-policy-3.11.1-46.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-46.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16862/selinux-policy-3.11.1-46.fc18
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-12-20 15:27:30 UTC
selinux-policy-3.11.1-46.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.