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

The /var/lib/maxscale/maxscale.cnf.d should be a part of the packages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 21.06.17, 22.08.14, 23.02.11, 23.08.7, 24.02.3, 24.08.0
    • 24.08.2
    • Packaging
    • None
    • MXS-SPRINT-219, MXS-SPRINT-220

    Description

      Hi

      the persistdir : /var/lib/maxscale/maxscale.cnf.d. ( as for default) is getting creating after the first start of maxscale, and not after the installation.

      so better way is to have it create during the installation, so automation can use it already

      [root@1338646-MAXSCALE3 ~]# yum install maxscale-23.02.1-1.rhel.9.x86_64.rpm
      Last metadata expiration check: 2:28:06 ago on Fri 04 Oct 2024 06:26:41 AM BST.
      Dependencies resolved.
      ===================================================================================================================================================================
       Package                      Architecture              Version                                Repository                                                     Size
      ===================================================================================================================================================================
      Installing:
       maxscale                     x86_64                    23.02.1-1.rhel.9                       @commandline                                                   82 M
      Installing dependencies:
       libatomic                    x86_64                    11.4.1-3.el9                           rhui-rhel-9-for-x86_64-baseos-rhui-rpms                        35 k
       unixODBC                     x86_64                    2.3.9-4.el9                            rhui-rhel-9-for-x86_64-appstream-rhui-rpms                    495 k
       
      Transaction Summary
      ===================================================================================================================================================================
      Install  3 Packages
       
      Total size: 82 M
      Total download size: 530 k
      Installed size: 312 M
      Is this ok [y/N]: y
      Downloading Packages:
      (1/2): libatomic-11.4.1-3.el9.x86_64.rpm                                                                                           268 kB/s |  35 kB     00:00    
      (2/2): unixODBC-2.3.9-4.el9.x86_64.rpm                                                                                             3.4 MB/s | 495 kB     00:00    
      -------------------------------------------------------------------------------------------------------------------------------------------------------------------
      Total                                                                                                                              2.6 MB/s | 530 kB     00:00     
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      Transaction test succeeded.
      Running transaction
        Running scriptlet: maxscale-23.02.1-1.rhel.9.x86_64                                                                                                          1/1 
        Preparing        :                                                                                                                                           1/1 
        Installing       : libatomic-11.4.1-3.el9.x86_64                                                                                                             1/3 
        Installing       : unixODBC-2.3.9-4.el9.x86_64                                                                                                               2/3 
      warning: /etc/odbcinst.ini created as /etc/odbcinst.ini.rpmnew
       
        Running scriptlet: maxscale-23.02.1-1.rhel.9.x86_64                                                                                                          3/3 
        Installing       : maxscale-23.02.1-1.rhel.9.x86_64                                                                                                          3/3 
        Running scriptlet: maxscale-23.02.1-1.rhel.9.x86_64                                                                                                          3/3 
      Created symlink /etc/systemd/system/multi-user.target.wants/maxscale.service → /usr/lib/systemd/system/maxscale.service.
       
        Verifying        : unixODBC-2.3.9-4.el9.x86_64                                                                                                               1/3 
        Verifying        : libatomic-11.4.1-3.el9.x86_64                                                                                                             2/3 
        Verifying        : maxscale-23.02.1-1.rhel.9.x86_64                                                                                                          3/3 
      Installed products updated.
       
      Installed:
        libatomic-11.4.1-3.el9.x86_64                        maxscale-23.02.1-1.rhel.9.x86_64                        unixODBC-2.3.9-4.el9.x86_64                       
       
      Complete!
       
       
       
      [root@1338646-MAXSCALE3 maxscale]# maxscale --help
       
      Usage : maxscale [OPTION]...
      ......
       
      Defaults paths:
        config file       : /etc/maxscale.cnf
        configdir         : /etc
        logdir            : /var/log/maxscale
        cachedir          : /var/cache/maxscale
        libdir            : /usr/lib64/maxscale
        sharedir          : /usr/share/maxscale
        datadir           : /var/lib/maxscale
        execdir           : /usr/bin
        language          : /var/lib/maxscale
        piddir            : /var/run/maxscale
        persistdir        : /var/lib/maxscale/maxscale.cnf.d
        module configdir  : /etc/maxscale.modules.d
        connector plugins : /usr/lib64/maxscale/plugin
       
      [root@1338646-MAXSCALE3 maxscale]# cd /var/lib/maxscale/maxscale.cnf.d
      -bash: cd: /var/lib/maxscale/maxscale.cnf.d: No such file or directory
      
      

      Attachments

        Activity

          People

            markus makela markus makela
            massimo.disaro Massimo
            Votes:
            2 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.