Go to file
Petr Khartskhaev ffa5a4cbd6 Add galera recovery environment variable to service file and move temporary 'wsrep' files to '/run'
This commit fixes two issues:

1. A Fedora downstream one, since 11.6
   (https://jira.mariadb.org/browse/MDEV-19210), MariaDB upstream use
   environment files in their systemd service files to load environment
   variables and pass the arguments '--wsrep-new-cluster' and
   '--wsrep_start_position' when starting the daemon. The Fedora downstream
   service file has been missing the variable for '--wsrep_start_position' since
   it was added into MariaDB upstream in 10.1.15
   (a6816995ee).
   And this Fedora downstream commit adds those missing environment
   variables and their arguments into the service files. After I tested
   it, the recovery of failed nodes works.

2. A MariaDB upstream one, where the temporary 'wsrep' files have
   incorrect SELinux policies set ('mysqld-db-t' instead of
   'mysqld-run-t') because of their parent directories. This occurs
   because their location is tied to the location of 'mysql.sock' in the
   CMake files. As RPMs get built to have 'mysql.sock' in
   '/var/lib/mysql' as opposed to inside '/run' like Debian or Arch, the
   temporary files for the service could not actually be read by the
   service during start-up, resulting in failure as no primary node was
   ever created. Discussion with the MariaDB upstream
   (https://jira.mariadb.org/browse/MDEV-37726) resulted in a patch that
   separates the location of the socket file and the temporary
   environment files into two CMake flags and allows for more flexible
   building of the package.

Resolves: RHEL-142554
2026-01-20 16:31:32 +01:00
.fmf Setup internal gating for c10s 2024-07-31 15:58:16 +02:00
.gitignore Rebase to 10.11.7 2024-08-19 12:19:43 +02:00
ci.fmf Add gating.yaml and required new test files, deleted old tests 2025-11-27 13:20:33 +01:00
clustercheck.sh Add subpackage mariadb-server-galera 2016-03-22 15:30:08 +01:00
gating.yaml Add gating.yaml and required new test files, deleted old tests 2025-11-27 13:20:33 +01:00
LICENSE.clustercheck Add subpackage mariadb-server-galera 2016-03-22 15:30:08 +01:00
mariadb10.11.spec Add galera recovery environment variable to service file and move temporary 'wsrep' files to '/run' 2026-01-20 16:31:32 +01:00
mariadb-check-socket.sh rename mysql scripts to mariadb 2021-05-11 12:01:29 +00:00
mariadb-check-upgrade.sh rename mysql scripts to mariadb 2021-05-11 12:01:29 +00:00
mariadb-libfmt.patch Rebase to 10.11.10 2025-02-07 01:29:50 +01:00
mariadb-logrotate.patch [2/2] Rebase to 10.11.6 - start using upstream logrotate file 2024-01-30 12:58:32 +01:00
mariadb-mtr.patch Fix MTR port calculation 2025-02-07 01:29:27 +01:00
mariadb-ownsetup.patch Fix of mariadb-ownsetup patch. 2020-09-03 13:41:45 +02:00
mariadb-prepare-db-dir.sh rename mysql scripts to mariadb 2021-05-11 12:01:29 +00:00
mariadb-scripts-common.sh mariadb-scripts-common: update sections from mariadbd --help --verbose 2021-05-11 12:01:29 +00:00
mariadb-scripts.patch rename mysql scripts to mariadb 2021-05-11 12:01:29 +00:00
mariadb-server-galera.te Add selinux policy 2016-05-12 20:29:28 +02:00
mariadb-ssl-cypher.patch JdbcMariaDB.jar test removed 2016-11-28 01:09:55 +01:00
mariadb.rpmlintrc Update RPMLint whitelist; fix RPMLint findings 2021-05-11 21:36:11 +02:00
mariadb.tmpfiles.d.in [tmpfiles.d] Extend tmpfiles.d rules for ImageMode 2025-11-27 13:19:58 +01:00
my.cnf.in Move server settings to config file under my.cnf.d dir 2015-01-25 00:00:50 +01:00
mysql_config_multilib.sh Expand paths in helper scripts using cmake 2014-07-21 14:57:46 +02:00
mysql.service.in Add galera recovery environment variable to service file and move temporary 'wsrep' files to '/run' 2026-01-20 16:31:32 +01:00
mysql@.service.in Add galera recovery environment variable to service file and move temporary 'wsrep' files to '/run' 2026-01-20 16:31:32 +01:00
pcre_bundling.patch Enable bundling pcre2 and bump its version to 10.46 2025-11-27 13:20:33 +01:00
plans.fmf Add gating.yaml and required new test files, deleted old tests 2025-11-27 13:20:33 +01:00
README.mariadb-docs README.mariadb-docs to refer to MariaDB documentation 2021-05-11 12:01:29 +00:00
README.md Added the README 2024-01-31 16:03:08 +00:00
README.wsrep_sst_rsync_tunnel Add wsrep_sst_rsync_tunnel script 2024-08-19 12:21:41 +02:00
rh-skipped-tests-arm.list Rebase to 10.11.11 2025-02-07 01:30:06 +01:00
rh-skipped-tests-base.list Rebase to 10.11.11 2025-02-07 01:30:06 +01:00
rh-skipped-tests-ppc.list Update skipped-tests-list for 10.11.6 release 2024-01-30 12:58:32 +01:00
rh-skipped-tests-s390.list Rebase to 10.11.11 2025-02-07 01:30:06 +01:00
rocksdb-6.8-gcc13.patch Fix build with GCC 13 2023-01-24 14:15:29 -05:00
rpminspect.yaml rpminspect - introduce a global ignore list 2022-06-11 10:17:03 +02:00
sources Rebase to 10.11.15 2025-12-01 17:19:55 +01:00
wsrep_sst_rsync_tunnel Add wsrep_sst_rsync_tunnel script 2024-08-19 12:21:41 +02:00

mariadb10.11

The mariadb10.11 package