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

          Sam Van Oort created issue -
          Sam Van Oort made changes -
          Summary Original: Jenkins RPM init script returns nonzero response codes New: 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!
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167093 ] New: JNJira + In-Review [ 182580 ]

          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 Crow made changes -
          Released As New: 2.335
          Assignee Original: Sam Van Oort [ svanoort ] New: Basil Crow [ basil ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: