Bug 554756

Summary: rhnsd outputs wrong time interval name
Product: [Community] Spacewalk Reporter: Jeremy Mueller <jmueller>
Component: ClientsAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 0.7CC: colin.coe, jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhnsd-4.9.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-26 15:13:48 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: 653453    

Description Jeremy Mueller 2010-01-12 15:21:10 UTC
Description of problem:

rhnsd outputs (to STDOUT with the -f option, or to /var/log/messages when run as service) the interval as "seconds", but should print as "minutes".  The man page states that the interval is in minutes.


Version-Release number of selected component (if applicable):

rhnsd-4.5.16-1.el5

Contents of /etc/sysconfig/rhn/rhnsd:
INTERVAL=60

How reproducible:

Always

Steps to Reproduce:
1. service rhnsd start 
2. grep rhnsd /var/log/messages

  
Actual results:

Jan 12 09:15:29 dlcompile32 rhnsd: Red Hat Network Services Daemon running with check_in interval set to 60 seconds.
Jan 12 09:15:29 dlcompile32 rhnsd: Red Hat Network Services Daemon running with check_in interval set to 60 seconds.
Jan 12 09:15:29 dlcompile32 rhnsd[3169]: Red Hat Network Services Daemon starting up.

Expected results:

Jan 12 09:15:29 dlcompile32 rhnsd: Red Hat Network Services Daemon running with check_in interval set to 60 minutes.
Jan 12 09:15:29 dlcompile32 rhnsd: Red Hat Network Services Daemon running with check_in interval set to 60 minutes.
Jan 12 09:15:29 dlcompile32 rhnsd[3169]: Red Hat Network Services Daemon starting up.

Additional info:

Comment 1 Colin Coe 2010-08-31 00:58:09 UTC
[coec@sw client]$ rpm -q rhnsd
rhnsd-4.7.0-5.el5

/var/log/messages:
Aug 31 08:45:36 sw rhnsd[15882]: Red Hat Network Services Daemon starting up.

I think this can be marked as resolved as the message has been changed.

CC

Comment 2 Jeremy Mueller 2010-08-31 12:47:10 UTC
I can confirm that it's working now:

$ rpm -q rhnsd
rhnsd-4.9.3-1.el5

$ sudo grep rhnsd /var/log/messages
Aug 31 07:45:19 sw rhnsd[5262]: Red Hat Network Services Daemon starting up, check in interval 60 minutes.


Thanks,

Jeremy

Comment 3 Jan Pazdziora (Red Hat) 2010-11-19 16:03:29 UTC
Mass-moving to space13.

Comment 4 Jan Pazdziora (Red Hat) 2010-11-26 15:13:48 UTC
Indeed, we've fixed this in bug 563173.

*** This bug has been marked as a duplicate of bug 563173 ***