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

Allow symbolic link for path to directory /usr/share/maxscale/gui

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.5.17, 6.2.0
    • REST-API
    • None

    Description

      I have offered the variable:

      sharedir=/some/other/directory/
      

      Customer wants to use a symbolic link.

      Here is an example of what happens when using a symbolic link and no value for sharedir:

      root@mxs:~# mkdir /opt/gui
      root@mxs:~# mv /usr/share/maxscale/gui/* /opt/gui
      root@mxs:~# rmdir /usr/share/maxscale/gui
      root@mxs:~# ln -s /opt/gui /usr/share/maxscale/gui
      root@mxs:~# ls /usr/share/maxscale/gui/
      apple-touch-icon.png  editor.worker.js                favicon-16x16.png  favicon.ico  img         js
      css                   f8fbdc474808cb732257.worker.js  favicon-32x32.png  fonts        index.html  safari-pinned-tab.svg
       
      root@mxs:~# systemctl restart maxscale
      root@mxs:~# curl http://192.168.20.208:8989
      {"errors": [ { "detail": "Access denied" } ] }root@mxs:~#
      

      Attachments

        Activity

          People

            markus makela markus makela
            edward Edward Stoever
            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.