Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4890

Directories should be in package file list, not created by post-install hook

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 24.02.0
    • Packaging
    • None
    • Linux - RPMs (probably .deb packages, too)
    • MXS-SPRINT-198, MXS-SPRINT-199

    Description

      Directories like /etc/maxscale.cnf.d are not seen in RPM file lists, they are not created via the RPM package itself (via CMake / CPack INSTALL(DIRECTORY ...) but generated by explicit mkdir instructions in the post-install hook script.

      That way they don't show up in rpm -ql list output, and it is not possible to find out what package they actually belong to via e.g. rpm -qf /etc/maxscale.cnf.d.

      Also it's not possible to have rpm --setguids maxscale fix any permission issues on them, etc ...

      Fix: use INSTALL(DIRECTORY ...) to create directories like the MariaDB-server RPM does.

      Attachments

        Activity

          People

            markus makela markus makela
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.