mariadb/scripts
Daniel Black 4b5e684606 MDEV-37726 wsrep-new-cluster and wsrep-start-position in wrong directory with wrong selinux permissions
After moving the systemd service to using environment files
instead of `systemctl set-environment` in 11.6 (MDEV-19210),
they (wsrep-new-cluster and wsrep-start-position) are located
in /var/lib/mysql along with the socket file in
Fedora/RHEL-based distros. This causes them to have incorrect
selinux permissions and therefore be not readable by systemd.

A solution is to generate these files in the run directory,
instead, which already has correct selinux label mysqld_var_run_t
mysql-selinux-1.0.12. Dissociating these files and the socket
in CMake configs can also prove useful for other things.

This also corrects some of the duplicate code in the build
scripts and made INSTALL_RUNDATADIR into a proper location
and used this for the tmpfiles where the temporary files
are created.

Debian's location is /run/mysqld/ matching its INSTALL_UNIX_ADDRDIR,
which is now a temporary location controlled by tmpfiles.
2026-01-14 09:58:43 +01:00
..
sys_schema MDEV-26114: Update Sys Schema README 2024-09-05 13:24:57 +10:00
CMakeLists.txt print_ddl_recovery_log.pl ; Print content of the ddl_recovery.log 2025-04-27 15:12:21 +03:00
comp_sql.c Merge 10.5 into 10.6 2022-07-01 15:24:50 +03:00
convert-debug-for-diff.sh MDEV-23697: bin/env perl -i -> bin/perl -i 2020-10-02 05:28:58 +02:00
dheadgen.pl BUG#25719975 SHEBANG HARD CODED AS /USR/BIN/PERL IN SCRIPTS, BREAKS ON FREEBSD 2017-03-28 13:22:32 +02:00
fill_help_tables.sql Update 10.5 HELP tables 2023-01-24 11:28:37 +11:00
galera_new_cluster.sh MDEV-37726 wsrep-new-cluster and wsrep-start-position in wrong directory with wrong selinux permissions 2026-01-14 09:58:43 +01:00
galera_recovery.sh Fix recovering state GTID in case log file contains non-text bytes - 2024-09-01 02:52:52 +02:00
maria_add_gis_sp.sql.in MDEV-19650: Privilege bug on MariaDB 10.4 2020-05-07 10:54:56 +02:00
mariadb-service-convert Merge 10.4 into 10.5 2023-01-13 10:18:30 +02:00
msql2mysql.sh Update FSF Address 2019-05-11 21:29:06 +03:00
mysql_config.pl.in Merge 10.3 into 10.4 2020-10-29 13:38:38 +02:00
mysql_config.sh Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
mysql_convert_table_format.sh Switch Perl DBI scripts from DBD::mysql to DBD::MariaDB driver 2019-07-19 13:39:20 +03:00
mysql_find_rows.sh Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mysql_fix_extensions.sh Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mysql_install_db.sh Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
mysql_performance_tables.sql MDEV-28915: mysql_upgrade fails due to old_mode="", with "Cannot load from 2023-06-26 15:10:30 +05:30
mysql_secure_installation.sh MDEV-28823 Secure mariadb-secure-installation output file with chmod 2025-12-12 17:33:04 +01:00
mysql_setpermission.sh MDEV-31611: mariadb-setpermission - Can't use string as an ARRAY ref while strict refs in use 2023-11-23 08:50:57 +11:00
mysql_system_tables.sql Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
mysql_system_tables_data.sql Merge 10.5 into 10.6 2023-09-19 10:47:26 +03:00
mysql_system_tables_fix.sql Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
mysql_test_data_timezone.sql MDEV-23908: Implement SELECT ... OFFSET ... FETCH ... 2021-04-21 14:09:14 +03:00
mysql_test_db.sql Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
mysqlaccess.conf BUG#25719975 SHEBANG HARD CODED AS /USR/BIN/PERL IN SCRIPTS, BREAKS ON FREEBSD 2017-03-28 13:22:32 +02:00
mysqlaccess.sh Merge 10.5 into 10.6 2023-01-13 10:45:41 +02:00
mysqld_multi.sh Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
mysqld_safe.sh Merge branch '10.5' into '10.6' 2024-09-01 06:51:25 +02:00
mysqldumpslow.sh Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mysqlhotcopy.sh Merge branch '10.4' into 10.5 2020-02-12 08:55:17 +01:00
mytop.sh MDEV-34604 mytop - fix specifying filters in .mytop 2024-07-17 14:19:53 +10:00
print_ddl_recovery_log.pl.in print_ddl_recovery_log.pl ; Print content of the ddl_recovery.log 2025-04-27 15:12:21 +03:00
wsrep_sst_backup.sh galera SST scripts: comments update 2024-09-15 06:08:03 +02:00
wsrep_sst_common.sh Continuation of previous FreeBSD-related fix for Galera SST scripts 2025-08-14 21:36:22 +02:00
wsrep_sst_mariabackup.sh MDEV-34998 addendum: post-fix corrections for SST scripts 2025-04-14 18:20:25 +02:00
wsrep_sst_mysqldump.sh Merge branch '10.5' into '10.6' 2025-04-15 01:49:48 +02:00
wsrep_sst_rsync.sh MDEV-34998 addendum: post-fix corrections for SST scripts 2025-04-14 18:20:25 +02:00