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

Redhat/Centos rpm moves aside existing config files during install/upgrade

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core, other
    • Labels:
    • Environment:
      Redhat, Centos 5 and Fedora
    • Similar Issues:

      Description

      During an upgrade of the jenkins package via the official repository, the /etc/sysconfig/jenkins and /etc/init.d/jenkins files are moved to .rpmsave and new versions created instead.
      I have a custom configuration for our environment and upgrading jenkins breaks things bad when it rotates out my configs.
      The rpm should create a new config with .rpmnew instead of rotating out existing configs.

        Attachments

          Activity

          Hide
          dogfood dogfood added a comment -
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1034
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Thomas Morse
          Path:
          changelog.html
          rpm/SPECS/jenkins.spec
          http://jenkins-ci.org/commit/jenkins/469c6e947a3ee6477758cc99f261d082c19ac923
          Log:
          [FIXED JENKINS-10037]
          The rpm should create a new config with .rpmnew instead of rotating out existing configs.
          This is a fix for JENKINS-10037.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thomas Morse Path: changelog.html rpm/SPECS/jenkins.spec http://jenkins-ci.org/commit/jenkins/469c6e947a3ee6477758cc99f261d082c19ac923 Log: [FIXED JENKINS-10037] The rpm should create a new config with .rpmnew instead of rotating out existing configs. This is a fix for JENKINS-10037 .
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Thomas Morse
          Path:
          changelog.html
          rpm/SPECS/jenkins.spec
          http://jenkins-ci.org/commit/jenkins/469c6e947a3ee6477758cc99f261d082c19ac923
          Log:
          [FIXED JENKINS-10037]
          The rpm should create a new config with .rpmnew instead of rotating out existing configs.
          This is a fix for JENKINS-10037.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thomas Morse Path: changelog.html rpm/SPECS/jenkins.spec http://jenkins-ci.org/commit/jenkins/469c6e947a3ee6477758cc99f261d082c19ac923 Log: [FIXED JENKINS-10037] The rpm should create a new config with .rpmnew instead of rotating out existing configs. This is a fix for JENKINS-10037 .
          Hide
          integer Kanstantsin Shautsou added a comment -

          Why init.d script is noreplaced?

          Show
          integer Kanstantsin Shautsou added a comment - Why init.d script is noreplaced?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Thomas Morse
          Path:
          SPECS/jenkins.spec
          http://jenkins-ci.org/commit/packaging/2791df41bee6bd631adf49bddd16738bfa4659b9
          Log:
          [FIXED JENKINS-10037]
          The rpm should create a new config with .rpmnew instead of rotating out existing configs.
          This is a fix for JENKINS-10037.

          Originally-From: jenkins-ci.org/commit/core/469c6e947a3ee6477758cc99f261d082c19ac923

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thomas Morse Path: SPECS/jenkins.spec http://jenkins-ci.org/commit/packaging/2791df41bee6bd631adf49bddd16738bfa4659b9 Log: [FIXED JENKINS-10037] The rpm should create a new config with .rpmnew instead of rotating out existing configs. This is a fix for JENKINS-10037 . Originally-From: jenkins-ci.org/commit/core/469c6e947a3ee6477758cc99f261d082c19ac923

            People

            • Assignee:
              Unassigned
              Reporter:
              thomasmorse Thomas Morse
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: