Red Hat Bugzilla – Bug 237771
Wrong init script
Last modified: 2014-02-10 18:01:47 EST
+++ This bug was initially created as a clone of Bug #237769 +++
Description of problem:
If we do not have support for APM the init script ends with error code 0 without
starting apmd. Also the status does not returns correct error code when invoked.
Note that status function should always run and return something (irrespectively
whether service may or may not be runned).
Version-Release number of selected component (if applicable):
with non-APM architecture
Steps to Reproduce:
1. service apmd start
2. echo $?
non-zero error code that corresponds to our guidelines.
When fixing this bug, please obbey our init script guidelines and be sure that
status command is implemented correctly.
Our guidelines are on following two pages: