Bug 489573

Summary: rhnmd is unable to generate pub / priv keys at first startup
Product: [Community] Spacewalk Reporter: Milan Zázrivec <mzazrivec>
Component: ClientsAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:11:08 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:    
Bug Blocks: 456553    

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.