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

Windows Agent Service Installer may leak File descriptors

    XMLWordPrintable

Details

    Description

      Windows Service installer for the Jenkins master uses the "Redirect.log" to retrieve the result of the service start command. If the read issue happens, the file descriptor may be leaked. In such case new service start attempts within Jenkins will be failing till the instance restart.

      Same as JENKINS-42670, but for the module

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/org/jenkinsci/modules/windows_slave_installer/WindowsSlaveInstaller.java
            http://jenkins-ci.org/commit/windows-slave-installer-module/44a08b3ac12934de907c754b1750293fbee70d4f
            Log:
            [FIXED JENKINS-43930] - Fatal file leak on exceptional path when redirect.log is not writable

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/org/jenkinsci/modules/windows_slave_installer/WindowsSlaveInstaller.java http://jenkins-ci.org/commit/windows-slave-installer-module/44a08b3ac12934de907c754b1750293fbee70d4f Log: [FIXED JENKINS-43930] - Fatal file leak on exceptional path when redirect.log is not writable
            oleg_nenashev Oleg Nenashev added a comment -

            The fix has been merged towards 2.60. In order to backport the change, a new backport & release of Windows Agent Installer module will be required

            oleg_nenashev Oleg Nenashev added a comment - The fix has been merged towards 2.60. In order to backport the change, a new backport & release of Windows Agent Installer module will be required

            People

              oleg_nenashev Oleg Nenashev
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: