Bug 702653

Summary: /etc/init.d/rhnsd - $PREFIX//opt/redhat/rhn/solaris/etc/sysconfig/rhn/rhnsd
Product: Red Hat Satellite 5 Reporter: Jiri Kastner <jkastner>
Component: SolarisAssignee: Clifford Perry <cperry>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 541CC: msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-09 09:43:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Jiri Kastner 2011-05-06 13:45:52 UTC
Description of problem:
rhnsd never reflects INTERVAL value from /opt/redhat/rhn/solaris/etc/sysconfig/rhn/rhnsd because /etc/init.d/rhnsd contains following snippet:

if [ -f $PREFIX//opt/redhat/rhn/solaris/etc/sysconfig/rhn/rhnsd ]; then
  . $PREFIX/etc/sysconfig/rhn/rhnsd
fi



$PREFIX//opt/redhat/rhn/solaris/etc/sysconfig/rhn/rhnsd

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


How reproducible:


Steps to Reproduce:
1. install solaris bootstrap from satellite 5.4.1
2. check content of /etc/init.d/rhnsd
  
Actual results:
rhnsd check satellite in 4h period only

Expected results:
INTERVAL value from /opt/redhat/rhn/solaris/etc/sysconfig/rhn/rhnsd sourced

Additional info:

Comment 1 Miroslav Suchý 2011-05-06 13:55:15 UTC
Can I assume you use version
RHATrhnc-5.1.0-4.pkg
?

This is fixed in spacewalk since day 0.

So it is probably just about rebuilding recent RHATrhnc.

Comment 2 Jiri Kastner 2011-05-06 15:36:31 UTC
# pkginfo -l RHATrhnc   
   PKGINST:  RHATrhnc
      NAME:  rhnclient 5.3.0
  CATEGORY:  utility
      ARCH:  i386
   VERSION:  5.3.0,REV=21
    VENDOR:  Red Hat
      DESC:  Red Hat Network Client Utilities and Libraries
    PSTAMP:  RHAT_RHN
  INSTDATE:  May 05 2011 09:12
    STATUS:  completely installed
     FILES:       68 installed pathnames
                  17 shared pathnames
                  23 directories
                  40 executables
                 449 blocks used (approx)

Comment 3 Jiri Kastner 2011-05-06 15:36:51 UTC
# pkginfo -l RHATrhnc   
   PKGINST:  RHATrhnc
      NAME:  rhnclient 5.3.0
  CATEGORY:  utility
      ARCH:  i386
   VERSION:  5.3.0,REV=21
    VENDOR:  Red Hat
      DESC:  Red Hat Network Client Utilities and Libraries
    PSTAMP:  RHAT_RHN
  INSTDATE:  May 05 2011 09:12
    STATUS:  completely installed
     FILES:       68 installed pathnames
                  17 shared pathnames
                  23 directories
                  40 executables
                 449 blocks used (approx)