Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-11855

Debian and RPM packages do not protect config files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.0.0
    • 3.0
    • build
    • Security Level: Public
    • Untriaged
    • Unknown

    Description

      The Debian packages for both membase-server and moxi-server do include the configuration files (/opt/membase/etc and /opt/moxi/etc) in the "conffiles" list in the package. This means that dpkg does not treat them as configuration files and replaces them with the new version when upgrading. This destroys the previous config.

      If the configuration files were installed under /etc, Debian would automatically handle them appropriately. Alternately, listing the files in the "conffiles" file when building the package should accomplish the same thing.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              bcui Bin Cui (Inactive)
              insyte Ben Beuchler
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty