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

Debian init script gives false positives for port already in use

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Ubuntu 10.10

      Description

      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.

        Activity

        Hide
        ldh Lyle Hanson added a comment -

        Submitted pull request

        Show
        ldh Lyle Hanson added a comment - Submitted pull request
        Hide
        kohsuke Kohsuke Kawaguchi added a comment -

        Fix integrated toward 1.408.

        Show
        kohsuke Kohsuke Kawaguchi added a comment - Fix integrated toward 1.408.
        Hide
        dogfood 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
        Show
        dogfood 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
        Hide
        scm_issue_link 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.

        Show
        scm_issue_link 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.
        Hide
        scm_issue_link 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.

        Show
        scm_issue_link 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.
        Hide
        scm_issue_link 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

        Show
        scm_issue_link 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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: