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

Postinstall script referencing a wrong PATH for /usr/bin/mysql_install_db and better solutions suggestion

    XMLWordPrintable

Details

    Description

      Hi,
      script referenced by postinstall script is wrong '/usr/scripts/scripts/mysql_install_db':
      mysqld_safe[25030]: The problem could be conflicting information in an external
      mysqld_safe[25030]: my.cnf files. You can ignore these by doing:
      mysqld_safe[25030]:
      mysqld_safe[25030]: shell> /usr/scripts/scripts/mysql_install_db --defaults-file=~/.my.cnf

      Should be '/usr/bin/mysql_install_db'.

      Error was originallly caused by an apparmor old mysqld profile (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865534) and:
      mysqld_safe[25030]: #007/usr/sbin/mysqld: Can't read dir of '/etc/mysql/mariadb.conf.d/' (Errcode: 13 "Permission denied")

      Question: is it possible/do we want to - have more intelligent postinstall script that could suggest better solutions?

      Attachments

        Activity

          People

            faust Faustin Lammler
            faust Faustin Lammler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.