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

bugzillaId-604: Module load path documentation issues ...

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.0.1
    • 1.2.0
    • Core, Documentation
    • None
    • Linux

    Description

      This is imported from bugzilla item http://bugs.mariadb.com/show_bug.cgi?id=604

      Description Hartmut Holzgraefe 2014-11-01 11:50:58 UTC

      • The module load path is only documented in the "Protocol Modules" subsection
        although it applies to all module types (this is the first module type
        described in the "Modules" section so it's unlikely to be overread, but still
        it's in the wrong place IMHO)
      • the path given in "Protocol Modules" is wrong, it says

      These modules reside in the directory $MAXSCALE_HOME/module, [...]

      while it is actually .../modules (ending with 's'), not .../module

      • the actual load path in server/core/load_utils.c is:

      1) look for module .so file in the current directory
      2) if that fails: look for it in $MAXSCALE_HOME/module

      Suggested fixes:

      • remove loading from current working dir completey (cough security cough)
      • fix path in documentation
      • move load path description from "Protocol Modules" section to
        a more general one, e.g. a general "Introduction" part at the
        start of the "Modules" section

      Attachments

        Issue Links

          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.