Bug 237771 - Wrong init script
Summary: Wrong init script
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: apmd
Version: rawhide
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Zdenek Prikryl
QA Contact:
URL:
Whiteboard:
Depends On: 237769
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-25 10:54 UTC by Michal Marciniszyn
Modified: 2014-02-10 23:01 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-11-07 14:33:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Marciniszyn 2007-04-25 10:54:48 UTC
+++ 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):


How reproducible:
with non-APM architecture

Steps to Reproduce:
1. service apmd start
2. echo $?
3.
  
Actual results:
0

Expected results:
non-zero error code that corresponds to our guidelines.

Additional info:
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:
http://intranet.corp.redhat.com/ic/intranet/InitscriptsSpec.html
http://intranet.corp.redhat.com/ic/intranet/InitscriptGuidelines.html


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