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

galera-4 a Recommends instead of Depends in Debian packaging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Stalled (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.7, 10.8, 10.9
    • Fix Version/s: 10.7, 10.8, 10.9
    • Component/s: Packaging
    • Labels:
      None

      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

      • debian/mariadb-server.postinst
      • scripts/wsrep_sst_common.sh
      • scripts/wsrep_sst_backup.sh
      • scripts/wsrep_sst_rsync.sh
      • support-files/policy/apparmor/usr.sbin.mysqld
      • mysql-test/suite/galera_3nodes/suite.pm
      • mysql-test/suite/galera/suite.pm
      • mysql-test/suite/innodb/t/alter_inplace_perfschema.test

      awk command

      • scripts/wsrep_sst_mysqldump.sh
      • scripts/mysql_config
      • support-files/mini-benchmark
      • scripts/sys_schema/generate_sql_file.sh
      • scripts/mysql_install_db.sh
      • support-files/policy/apparmor/usr.sbin.mysqld

      rsync command

      • scripts/wsrep_sst_rsync.sh
      • extra/mariabackup/innobackupex.cc
      • extra/mariabackup/backup_copy.cc
      • mysql-test/suite/galera/*
      • mysql-test/suite/sys_vars/*
      • mysql-test/suite/wsrep/common.pm
      • sql/wsrep_sst.h
      • sql/wsrep_mysqld.cc
      • support-files/policy/apparmor/usr.sbin.mysqld
      • support-files/policy/selinux/mariadb-server.te
      • support-files/policy/selinux/mariadb-server.te
      • support-files/wsrep.cnf.sh

      socat command

      • mysql-test/include/have_mariabackup.inc
      • scripts/wsrep_sst_mariabackup.sh
      • support-files/policy/apparmor/usr.sbin.mysqld
      • mysql-test/suite/wsrep/common.pm
      • mysql-test/suite/galera/*

      iproute2 commands

      • 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

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