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

Debian init script gives false positives for port already in use

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • other
    • None
    • Ubuntu 10.10

      The init script used on debian-like systems (/etc/init.d/jenkins) checks to see whether the selected port is already in use upon startup. The shell command used to do so will match any common prefix of the selected port.

      For example, if I try to run Jenkins on port 80 and another service is listening on port 801, the test will match the "80" prefix and report that port 80 is in use.

          [JENKINS-9281] Debian init script gives false positives for port already in use

          Lyle Hanson added a comment -

          Submitted pull request

          Lyle Hanson added a comment - Submitted pull request

          Fix integrated toward 1.408.

          Kohsuke Kawaguchi added a comment - Fix integrated toward 1.408.

          dogfood added a comment -

          Integrated in jenkins_main_trunk #682
          [FIXED JENKINS-9281] Match entire port number instead of just prefix using POSIX character class.

          Kohsuke Kawaguchi : 506183064870a47fd1f8b4100e7188d80a23b6f9
          Files :

          • debian/debian/jenkins.init
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #682 [FIXED JENKINS-9281] Match entire port number instead of just prefix using POSIX character class. Kohsuke Kawaguchi : 506183064870a47fd1f8b4100e7188d80a23b6f9 Files : debian/debian/jenkins.init changelog.html

          Code changed in jenkins
          User: Lyle Hanson
          Path:
          changelog.html
          debian/debian/jenkins.init
          http://jenkins-ci.org/commit/jenkins/506183064870a47fd1f8b4100e7188d80a23b6f9
          Log:
          [FIXED JENKINS-9281] Match entire port number instead of just prefix using POSIX character class.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Lyle Hanson Path: changelog.html debian/debian/jenkins.init http://jenkins-ci.org/commit/jenkins/506183064870a47fd1f8b4100e7188d80a23b6f9 Log: [FIXED JENKINS-9281] Match entire port number instead of just prefix using POSIX character class.

          Code changed in jenkins
          User: Lyle Hanson
          Path:
          changelog.html
          debian/debian/jenkins.init
          http://jenkins-ci.org/commit/jenkins/506183064870a47fd1f8b4100e7188d80a23b6f9
          Log:
          [FIXED JENKINS-9281] Match entire port number instead of just prefix using POSIX character class.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Lyle Hanson Path: changelog.html debian/debian/jenkins.init http://jenkins-ci.org/commit/jenkins/506183064870a47fd1f8b4100e7188d80a23b6f9 Log: [FIXED JENKINS-9281] Match entire port number instead of just prefix using POSIX character class.

          Code changed in jenkins
          User: Lyle Hanson
          Path:
          debian/jenkins.init
          http://jenkins-ci.org/commit/packaging/b7b197a1bb84aa650ed8cb935c87af17a38b57d1
          Log:
          [FIXED JENKINS-9281] Match entire port number instead of just prefix using POSIX character class.

          Originally-From: jenkins-ci.org/commit/core/506183064870a47fd1f8b4100e7188d80a23b6f9

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Lyle Hanson Path: debian/jenkins.init http://jenkins-ci.org/commit/packaging/b7b197a1bb84aa650ed8cb935c87af17a38b57d1 Log: [FIXED JENKINS-9281] Match entire port number instead of just prefix using POSIX character class. Originally-From: jenkins-ci.org/commit/core/506183064870a47fd1f8b4100e7188d80a23b6f9

            Unassigned Unassigned
            ldh Lyle Hanson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: