Bug 694048

Summary: /dev/random inaccessible by ssh-keygen (copy from 693420)
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Miroslav Vadkerti <mvadkert>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.6CC: dwalsh, iboverma, jwest, ksrot, mgrepl, mmalik, mvadkert, plyons, pm-eus, sgrubb, smueller
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-2.4.6-300.el5_6.1 Doc Type: Bug Fix
Doc Text:
The sshd service, ssh clients, and other SSH-aware utilities require access to the /dev/random and /dev/urandom random number generators. Prior to this update, SELinux incorrectly prevented the ssh-keygen utility from accessing the /dev/random device. This update adapts SELinux policies to allow this access, and ssh-keygen is now able to read data from /dev/random as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-04 06:54:54 UTC Type: ---
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: 693723    
Bug Blocks:    

Description RHEL Program Management 2011-04-06 10:35:17 UTC
This bug has been copied from bug #693723 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 4 Miroslav Grepl 2011-04-06 15:21:27 UTC
Fixed in selinux-policy-2.4.6-300.el5_6.1

Comment 6 Jaromir Hradilek 2011-04-08 12:30:03 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The sshd service, ssh clients, and other SSH-aware utilities require access to the /dev/random and /dev/urandom random number generators. Prior to this update, SELinux incorrectly prevented the ssh-keygen utility from accessing the /dev/random device. This update adapts SELinux policies to allow this access, and ssh-keygen is now able to read data from /dev/random as expected.

Comment 10 errata-xmlrpc 2011-05-04 06:54:54 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0481.html