mariadb/scripts
Daniel Black 649216e70d 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.
2025-10-25 10:23:26 +11:00
..
sys_schema MDEV-37083: Fixed type mismatch in sys views 2025-07-25 17:02:59 +05:30
CMakeLists.txt Replace deprecated CMAKE_COMPILER_IS_GNU(CC|CXX) with CMAKE_(C|CXX)_COMPILER_ID 2025-06-03 18:16:35 +10: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.11 HELP 2023-07-26 08:59:19 +10:00
galera_new_cluster.sh MDEV-37726 wsrep-new-cluster and wsrep-start-position in wrong directory with wrong selinux permissions 2025-10-25 10:23:26 +11: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 MDEV-34926: mysql-install-db suggests a deprecated procedure 2025-07-17 09:18:18 +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 Merge branch '10.5' into 10.6 2024-07-18 16:25:33 +02: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 10.6 into 10.11 2025-01-02 12:39:56 +02: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 10.6 into 10.11 2025-01-02 12:39:56 +02:00
mysql_test_data_timezone.sql MDEV-23908: Implement SELECT ... OFFSET ... FETCH ... 2021-04-21 14:09:14 +03:00
mysql_test_db.sql Add magic database access to test and test_% and removing the script 2022-11-02 00:31:27 +01: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 MDEV-6655: mysqld_multi default log location in wrong directory (#2285) 2022-10-16 18:18:40 +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 MDEV-36084 mariadb-hotcopy requires '--port' set for operation since 10.11 2025-03-31 15:37:10 +02:00
mytop.sh MDEV-37852 mytop: fix connection to localhost 2025-10-14 12:28:38 +11: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 MDEV-37899 galera sst generates numerous selinux AVCs when starting 2025-10-21 20:25:06 +11:00
wsrep_sst_mariabackup.sh Merge branch '10.6' into '10.11' 2025-04-16 03:34:40 +02:00
wsrep_sst_mysqldump.sh Merge branch '10.6' into '10.11' 2025-04-16 03:34:40 +02:00
wsrep_sst_rsync.sh MDEV-37899 galera sst generates numerous selinux AVCs when starting 2025-10-21 20:25:06 +11:00