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

postinstall on debian copies wrong file in /etc/init.d

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Core
    • None

    Description

      Hi,

      In /usr/share/maxscale/postinst, we copy a file maxscale.conf to /etc/init.d/:

      if [ -f "/usr/share/maxscale/maxscale.conf" ]
      then
          cp /usr/share/maxscale/maxscale.conf /etc/init.d/
      fi

      This file contains:

      /usr/modules
      /usr/lib

      I think this file is supposed to go somewhere else, like /etc/ld.so.conf.d

      Also, more general, /usr/modules doesn't exist and doesn't contain shared libraries, as far as I know.
      And /usr/lib is like a default as well. I have never seen these kind of dependencies for a program...

      What is the purpose of this postinstall step ?

      Thanks,
      Joffrey

      Attachments

        Activity

          People

            markus makela markus makela
            joffrey Joffrey MICHAIE (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.