Bug 554756 - rhnsd outputs wrong time interval name
Summary: rhnsd outputs wrong time interval name
Keywords:
Status: CLOSED DUPLICATE of bug 563173
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 0.7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space13
TreeView+ depends on / blocked
 
Reported: 2010-01-12 15:21 UTC by Jeremy Mueller
Modified: 2010-11-26 15:13 UTC (History)
2 users (show)

Fixed In Version: rhnsd-4.9.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-26 15:13:48 UTC
Embargoed:


Attachments (Terms of Use)

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 2010-11-19 16:03:29 UTC
Mass-moving to space13.

Comment 4 Jan Pazdziora 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 ***


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