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

MaxCtrl reads .maxctrl.cnf from incorrect path

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Duplicate
    • 6.1.0
    • N/A
    • maxctrl
    • None

    Description

      Depending on your current working directory, MaxCtrl may sometimes try to read .maxctrl.cnf from an incorrect path.

      To reproduce:

      $ cd /
      $ strace -o ~/strace.out -ff maxctrl list service
      

      You will see the following error message:

      ENOENT: no such file or directory, stat '/~/.maxctrl.cnf'
      

      And the strace output will show:

      $ grep "\.maxctrl.cnf" ~/strace.out.*
      /home/ec2-user/strace.out.1731:stat("/~/.maxctrl.cnf", 0x7fff4727d5b0) = -1 ENOENT (No such file or directory)
      /home/ec2-user/strace.out.1731:stat("/~/.maxctrl.cnf", 0x7fff4727d200) = -1 ENOENT (No such file or directory)
      /home/ec2-user/strace.out.1731:stat("/~/.maxctrl.cnf", 0x7fff4727ce40) = -1 ENOENT (No such file or directory)
      

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              GeoffMontee Geoff Montee (Inactive)
              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.