Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31656

Jenkins RPM init script returns nonzero response codes on successful stop

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • packaging
    • None
    • centos6
    • 2.335

      Install jenkins by RPM, start it, and do a 'service jenkins stop'
      Check status code with echo "$?"
      Even though the service stops correctly, it may return status code 1

          [JENKINS-31656] Jenkins RPM init script returns nonzero response codes on successful stop

          Andrew Bayer added a comment -

          So that'd suggest that killproc is sometimes returning 1?

          Andrew Bayer added a comment - So that'd suggest that killproc is sometimes returning 1?

          Sam Van Oort added a comment -

          This is correct!

          Sam Van Oort added a comment - This is correct!

          Basil Crow added a comment -

          As of 2.335 Jenkins has switched to systemd and no longer uses killproc. The problematic code referenced in the bug synopsis no longer exists; therefore, neither does this bug.

          Basil Crow added a comment - As of 2.335 Jenkins has switched to systemd and no longer uses killproc . The problematic code referenced in the bug synopsis no longer exists; therefore, neither does this bug.

            basil Basil Crow
            svanoort Sam Van Oort
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: