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

Jenkins crashes when killing a job that uses su to impersonate a user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • core
    • None
    • Centos 6.4

      This happens on version 1.561 as well as the LTS 1.532.3 version.

      Jenkins crashes if you kill a free-style job that uses su to run as another user. Nothing is logged, and there no heap dumps are created.

      To repro:
      -----------
      1. Launch Jenkins as root
      2. Create a simple sleep script on the local file system, eg /tmp/sleep.sh...
      #!/bin/bash
      sleep 6000
      3. Create a free-style software project build, that runs this shell command
      su <some user> -c "cd /tmp/ ; ./sleep.sh"
      4. Run the build
      5. Wait a few seconds
      6. Kill the running build
      7. Refresh your browser.

            Unassigned Unassigned
            lbotelho L Botelho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: