Bug 489573 - rhnmd is unable to generate pub / priv keys at first startup
Summary: rhnmd is unable to generate pub / priv keys at first startup
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2009-03-10 18:11 UTC by Milan Zázrivec
Modified: 2009-09-17 07:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:11:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Milan Zázrivec 2009-03-10 18:11:34 UTC
Description of problem:
Initial start of rhnmd fails when it tries to generate its pair
of private / public keys.

Version-Release number of selected component (if applicable):
rhnmd-5.1.6-1.el5

How reproducible:
Always

Steps to Reproduce:
1. Install rhnmd-5.1.6-1.el5
2. /etc/init.d/rhnmd start
  
Actual results:
# /etc/init.d/rhnmd start
Generating SSH2 DSA host key:                              [FAILED]

Expected results:
rhnmd starts

Additional info:
spacewalk.git commit fd619e0e4430cec31e2fca17ac617aaaafd49681

# ls -ld /etc/nocpulse
drwxr-xr-x 2 root root 4096 Mar 10 18:36 /etc/nocpulse
# whoami
root
# /sbin/runuser -s /bin/bash - nocpulse -c "/usr/bin/ssh-keygen -q -t dsa -f /etc/nocpulse/ssh_host_dsa_key -C '' -N ''"
open /etc/nocpulse/ssh_host_dsa_key failed: Permission denied.
Saving the key failed: /etc/nocpulse/ssh_host_dsa_key.

Comment 1 Miroslav Suchý 2009-03-11 13:45:38 UTC
Commited as 85607831bbcb364304ca2f2a8f68dee5b1848640
Fixed in rhnmd-5.1.7-1
Ticket to rel-eng to include nocpulse-common in rhn-tools has been sent (#37194)

Comment 2 Jesus M. Rodriguez 2009-04-14 14:13:31 UTC
Spacewalk 0.5 released.

Comment 3 Miroslav Suchý 2009-09-17 07:11:08 UTC
Spacewalk 0.5 has been released for long time ago.


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