Red Hat Bugzilla – Bug 515145
System hangs when generating SSH2 DSA key
Last modified: 2009-10-29 10:34:21 EDT
Description of problem:
After installing a system from the current "rawhide" tree, the boot procedure always hangs at launching sshd when the latter tries to create the SSH2 DSA key. The last message reads:
"Generating SSH2 DSA host key:"
The system will be stuck at this point unless the user enters ctrl-c which will cause this step to be aborted ("[FAILED]"). Hereafter, the system boots up as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Restart system.
System hangs at step "Generating SSH2 DSA host key:".
SSH2 DSA host key gets created for once and for all.
- SELinux mode is "permissive".
- F11 used to behave correctly in this respect.
- Relevant segment from /etc/rc.d/init.d/sshd reads:
if [ ! -s $DSA_KEY ]; then
echo -n $"Generating SSH2 DSA host key: "
if $KEYGEN -q -t dsa -f $DSA_KEY -C '' -N '' >&/dev/null; then
chmod 600 $DSA_KEY
chmod 644 $DSA_KEY.pub
if [ -x /sbin/restorecon ]; then
success $"DSA key generation"
failure $"DSA key generation"
I cannot reproduce it, is there any other condition (memory, cpu,... ) which cause it?
Sorry for not having reported yet that after a recent "rawhide" install from scratch on said IBM ThinkPad T23, the issue did not occur anymore.
Repaired in F12 and F13 as well.