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

galera-4 a Recommends instead of Depends in Debian packaging

    XMLWordPrintable

Details

    Description

      Currently MariaDB has hard dependency of galera-4 which should not be like that. Galera should be in recommends but then there is several scripts:

      PR #1829 suggests to start recommend galera-4 and also tools that are assioisated with Galera scripts like:

      • gawk
      • iproute2
      • libdbi-perl
      • rsync
      • socat
      • lsof

      Several of these tools are used in tree and required by other tools to work:

      lsof command

      package mariadb-server

      • debian/mariadb-server.postinst
      • scripts/wsrep_sst_common.sh
      • scripts/wsrep_sst_backup.sh
      • scripts/wsrep_sst_rsync.sh

      package mariadb-test

      • mysql-test/suite/galera_3nodes/suite.pm
      • mysql-test/suite/galera/suite.pm
      • mysql-test/suite/innodb/t/alter_inplace_perfschema.test

      package not-installed

      • support-files/policy/apparmor/usr.sbin.mysqld

      awk command

      package mariadb-server

      • scripts/wsrep_sst_mysqldump.sh
      • debian/mariadb-server.mariadb.init
      • debian/mariadb-server.preinst
      • debian/autobake-deb.sh
      • support-files/mini-benchmark

      package mariadb-server-core

      • scripts/mysql_install_db.sh

      package not-installed

      • scripts/mysql_config
      • support-files/policy/apparmor/usr.sbin.mysqld

      Not installed at all

      • scripts/sys_schema/generate_sql_file.sh

      rsync command

      package mariadb-server

      • scripts/wsrep_sst_rsync.sh
      • sql/wsrep_sst.h
      • sql/wsrep_mysqld.cc

      package mariadb-backup

      • extra/mariabackup/innobackupex.cc
      • extra/mariabackup/backup_copy.cc
      • extra/mariabackup/xtrabackup.cc
      • extra/mariabackup/xtrabackup.h

      package mariadb-test

      • mysql-test/suite/galera/*
      • mysql-test/suite/sys_vars/*
      • mysql-test/suite/wsrep/common.pm

      package not-installed

      • support-files/policy/apparmor/usr.sbin.mysqld
      • support-files/policy/selinux/mariadb-server.te
      • support-files/wsrep.cnf.sh

      socat command

      package mariadb-test

      • mysql-test/include/have_mariabackup.inc
      • scripts/wsrep_sst_mariabackup.sh

      package mariadb-server

      • mysql-test/suite/wsrep/common.pm
      • mysql-test/suite/galera/*

      package not-installed

      • support-files/policy/apparmor/usr.sbin.mysqld

      iproute2 commands

      package mariadb-server

      • scripts/wsrep_sst_common.sh

      Every recommend should be tested as removing Galera would make wsrep_sst_* scripts non-functional without adding that package in Debian or any other distro.

      Debian bug for this is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988089

      Attachments

        Activity

          People

            illuusio Tuukka Pasanen
            illuusio Tuukka Pasanen
            Votes:
            0 Vote for this issue
            Watchers:
            6 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.