Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22833

Ubuntu 20 and default setup issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.3
    • Fix Version/s: 10.3
    • Labels:
      None
    • Environment:
      mysql Ver 15.1 Distrib 10.3.22-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

      Distributor ID: Ubuntu
      Description: Ubuntu 20.04 LTS
      Release: 20.04
      Codename: focal

      Description

      At default setup Ubuntu creates this file:
      /etc/mysql/my.cnf

      its a symlink:
      /etc/mysql/my.cnf -> /etc/alternatives/my.cnf

      So, then you trying to change something in config files you have zero reaction, and you cant debug it by service mariadb restart - it restarts and everything works, but config is ingored because of this:

      # mysql -u root -p
      Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
      

      So you can spend a hours to guess that is going on.

        Attachments

          Activity

            People

            Assignee:
            otto Otto Kekäläinen
            Reporter:
            wokenlex Oleksandr Marushchenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: