Skip to content

[JENKINS-10037] Redhat/Centos rpm moves aside existing config files during install/upgrade #15905

Description

@jenkins-infra-bot

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.


Originally reported by thomasmorse, imported from: Redhat/Centos rpm moves aside existing config files during install/upgrade
  • status: Resolved
  • priority: Major
  • component(s): core, other
  • label(s): rpm
  • resolution: Fixed
  • resolved: 2011-08-09T21:40:15+00:00
  • votes: 1
  • watchers: 3
  • imported: 2025-11-24
Raw content of original issue

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.

  • environment: Redhat, Centos 5 and Fedora

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions