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

Jenkins RPM init script returns nonzero response codes on successful stop

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • packaging
    • None
    • centos6
    • 2.335

    Description

      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

      Attachments

        Activity

          svanoort Sam Van Oort created issue -
          svanoort Sam Van Oort made changes -
          Field Original Value New Value
          Summary Jenkins RPM init script returns nonzero response codes Jenkins RPM init script returns nonzero response codes on successful stop
          abayer Andrew Bayer added a comment -

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

          abayer Andrew Bayer added a comment - So that'd suggest that killproc is sometimes returning 1?
          svanoort Sam Van Oort added a comment -

          This is correct!

          svanoort Sam Van Oort added a comment - This is correct!
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 167093 ] JNJira + In-Review [ 182580 ]
          basil 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 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 made changes -
          Released As 2.335
          Assignee Sam Van Oort [ svanoort ] Basil Crow [ basil ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: