You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Mark Grover (JIRA)" <ji...@apache.org> on 2013/01/17 20:34:13 UTC

[jira] [Created] (BIGTOP-828) Wrong return code when stopping a service that's not running

Mark Grover created BIGTOP-828:
----------------------------------

             Summary: Wrong return code when stopping a service that's not running
                 Key: BIGTOP-828
                 URL: https://issues.apache.org/jira/browse/BIGTOP-828
             Project: Bigtop
          Issue Type: Bug
            Reporter: Mark Grover
            Assignee: Mark Grover


There are several services (flume-agent and hue at the very least) that return 0 as return code when the service is being stopped when it's actually not running. It seems by reading http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html that we should be returning error code 7.

Please let me know if you agree or disagree. If this is indeed a bug, I can upload a patch for all the services that have this bug (there may be more services than just flume-agent and hue).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira