+++ This bug was initially created as a clone of Bug #243699 +++ Description of problem: The rhnsd init script returns incorrect error codes and also some constructions in it prevent the correct status command call. For example: [ -x /usr/sbin/rhnsd ] || exit 0 [ -f /etc/sysconfig/rhn/systemid ] || exit 0 Also the script contains INTERVAL=240 which is IMHO configuration parameter that has nothing to do in the init script and should be moved to conf file. Version-Release number of selected component (if applicable): all How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: When fixing this bug, please obbey our init script guidelines and be sure that status command is run correctly. Our guidelines are on following two pages: http://intranet.corp.redhat.com/ic/intranet/InitscriptsSpec.html http://intranet.corp.redhat.com/ic/intranet/InitscriptGuidelines.html For an example of the script that returns the error codes correctly and always runs status see: http://devserv.devel.redhat.com/~mmarcini/amd This bug is tracked by 237789.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Link: http://devserv.devel.redhat.com/~mmarcini/amd does not exist!
INTERVAL is defined for some time in /etc/sysconfig/rhn/rhnsd And if those files do not exist we return 6: [ -x /usr/sbin/rhnsd ] || exit 6 [ -f /etc/sysconfig/rhn/systemid ] || exit 6 Not sure when it was fixed, but in RHEL 5.4