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

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

    [ https://issues.apache.org/jira/browse/BIGTOP-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556789#comment-13556789 ] 

Johnny Zhang commented on BIGTOP-828:
-------------------------------------

to mine experience, all the service daemon behavior like this, at least ones included in package tests.
                
> 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