summaryrefslogtreecommitdiff
path: root/support-files
Commit message (Collapse)AuthorAgeFilesLines
* Update magic file with Aria table files and ddl logMonty2022-06-131-14/+14
|
* Merge 10.5 into 10.6Marko Mäkelä2022-06-091-5/+6
|\
| * Merge 10.4 into 10.5Marko Mäkelä2022-06-091-5/+6
| |\
| | * Merge 10.3 into 10.4Marko Mäkelä2022-06-091-5/+6
| | |\
| | | * mysql.server.sh fix for non-Red Hat platformsGuiXiaoDi2022-06-091-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The else condition is meant to be here to define the functions if the Red Hat include file isn't there. Fixes: commit 467011bcac3b3f42ae6f21dde8d88e78708b21d1 / MDEV-26614 RedHat -> Red Hat by Daniel Black
* | | | Merge 10.5 into 10.6Marko Mäkelä2022-02-171-0/+1
|\ \ \ \ | |/ / /
| * | | Merge 10.4 into 10.5Marko Mäkelä2022-02-171-0/+1
| |\ \ \ | | |/ /
| | * | Merge 10.3 into 10.4Marko Mäkelä2022-02-171-0/+1
| | |\ \ | | | |/
| | | * Merge 10.2 into 10.3Marko Mäkelä2022-02-171-0/+1
| | | |\
| | | | * fix: Fix 'unknown type usermodehelper_t' issue after upgrading to MariaDB ↵Jonathan Sabbe2022-02-171-0/+1
| | | | | | | | | | | | | | | | | | | | 10.4.24
* | | | | Merge branch '10.5' into 10.6Oleksandr Byelkin2022-02-035-1/+8
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.4' into 10.5Oleksandr Byelkin2022-02-015-1/+8
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.3' into 10.4Oleksandr Byelkin2022-01-305-1/+8
| | |\ \ \ | | | |/ /
| | | * | Merge branch '10.2' into 10.3mariadb-10.3.33Oleksandr Byelkin2022-01-292-1/+3
| | | |\ \ | | | | |/
| | | | * MDEV-27477 Remaining SUSE patches for 10.2+Monty2022-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch let's you specify not only user to use but also group that MariaDB should use. Original patch: https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.2.3-group.patch Author: Kristyna Streitova Reviewer: monty@mariadb.org
| | | | * MDEV-27635: selinux: allow read of /proc/sys/kernel/core_patternDaniel Black2022-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent the error: setroubleshoot[23678]: SELinux is preventing /usr/libexec/mysqld from read access on the file core_pattern. Reading of the core pattern occurs on crash as added in MDEV-15051 RHEL-7.7 $ ls -laZ /proc/sys/kernel/core_pattern -rw-r--r--. root root system_u:object_r:usermodehelper_t:s0 /proc/sys/kernel/core_pattern
| | | | * MDEV-27386: cpack rpm libsepol installed detects verison incorrectlybb-10.2-danielblack-MDEV-27386-libsepol-detectionDaniel Black2021-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... when two packages are installed. (fc35 with i686 and x86_64 packages of libsepol installed). $ rpm -q --qf "%{VERSION}" libsepol 3.33.3 Restricting the version to the current achitecture generates a much more obtainable version dependency. $ rpm -q --qf "%{VERSION}" libsepol.x86_64 3.3 This make dependency resolution easier preventing: $ sudo dnf localinstall MariaDB-server-10.8.0-1.fc35.x86_64.rpm ... Last metadata expiration check: 2:06:49 ago on Thu 30 Dec 2021 14:02:32. Error: Problem 1: conflicting requests - nothing provides libsepol >= 3.33.3 needed by MariaDB-server-10.8.0-1.fc35.x86_64 The CMAKE_SYSTEM_PROCESSOR is used in the generation of architecture filenames so its preduent to just use the same version.
| | | * | MDEV-27477 Remaining SUSE patches for 10.2+Monty2022-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the logrotate config file for mariadb. Read more at https://www.novell.com/support/kb/doc.php?id=7005219 Source: https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.15-logrotate-su.patch
| | | * | MDEV-26317: Add SYSTEMD_READWRITEPATH variable to mariadb.service.in-fileTuukka Pasanen2022-01-072-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SYSTEMD_READWRITEPATH-variable to mariadb{@,}.service.in to make sure that if one is not building RPM or DEB packages then make sure there is ReadWritePaths directive is defined in systemd service file. This ensures that tar-ball installation has permissions to write database default installation path (default: /usr/local/mysql/data) even if it's located under /usr. Writing to that location is prevented by 'ProtectSystem=full' systemd directive by default. Prefixing the path with "-" in systemd causes there to not be an error if the path doesn't exist. This may occur if the user has configured a datadir elsewhere. Reviewer: Daniel Black
* | | | | Merge 10.5 into 10.6Marko Mäkelä2021-09-301-8/+7
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.4 into 10.5Marko Mäkelä2021-09-241-8/+7
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.3 into 10.4Marko Mäkelä2021-09-241-8/+7
| | |\ \ \ | | | |/ /
| | | * | Merge 10.2 into 10.3Marko Mäkelä2021-09-241-8/+7
| | | |\ \ | | | | |/
| | | | * MDEV-26612 Two different ways to start MariaDB service can cause data corruptionbb-10.2-MDEV-26612Alexey Bychko2021-09-241-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RedHat systems have both files for lsb and init functions. Old code was written as if/else, so second file (RedHat-specific) was not processed. So, systemd redirect didn't work, because its logic is described in RedHat-specific functions file
* | | | | Merge branch '10.5' into 10.6Oleksandr Byelkin2021-08-022-3/+3
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.4' into 10.5Oleksandr Byelkin2021-07-311-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.3' into 10.4Oleksandr Byelkin2021-07-311-1/+1
| | |\ \ \ | | | |/ /
| | | * | Merge branch '10.2' into 10.3Sergei Golubchik2021-07-211-1/+1
| | | |\ \ | | | | |/
| | | | * MDEV-26119 RPM packages on RHEL-8 require the latest minorAlexey Bychko2021-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | changed rpm db query to output only version for libsepol and not release/buildnumber
| | * | | Merge 10.3 into 10.4Marko Mäkelä2021-06-211-1/+1
| | |\ \ \ | | | |/ /
| | | * | Merge 10.2 into 10.3Marko Mäkelä2021-06-211-1/+1
| | | |\ \ | | | | |/
| | | | * MDEV-25617 10.5.10 upgrade: "scriptlet / line 6 : [: is-active : binary ↵Sergei Golubchik2021-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | operator expected"
| * | | | MDEV-24248: my_print_defaults is not taking all the values when using -eRucha Deodhar2021-07-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | option which is called from mysql.server (extra_args). Fix: change mysql.server script to use --defaults-extra-file instead of -e
| * | | | Revert "MDEV-24248: my_print_defaults is not taking all the values when ↵Rucha Deodhar2021-07-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using -e" This reverts commit f88d130e710338607adf2517bef436de624c76b9.
| * | | | MDEV-24248: my_print_defaults is not taking all the values when using -eRucha Deodhar2021-07-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | option which is called from mysql.server (extra_args). Fix: change mysql.server script to use --defaults-extra-file instead of -e
* | | | | Merge 10.5 into 10.6Marko Mäkelä2021-05-261-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | MDEV-25617 10.5.10 upgrade: "scriptlet / line 6 : [: is-active : binary ↵Sergei Golubchik2021-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | operator expected"
* | | | | Merge 10.5 into 10.6Marko Mäkelä2021-04-292-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.4 into 10.5Marko Mäkelä2021-04-272-2/+2
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.3 into 10.4Marko Mäkelä2021-04-272-2/+2
| | |\ \ \ | | | |/ /
| | | * | Merge 10.2 into 10.3Marko Mäkelä2021-04-272-2/+2
| | | |\ \ | | | | |/
| | | | * MDEV-25513: raise systemd LimitNOFILE limits to match server defaultsDaniel Black2021-04-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting MDEV reporter Daniel Lewart: Starting MariaDB with default configuration causes the following problems: "[Warning] Could not increase number of max_open_files to more than 16384 (request: 32186)" silently reduces table_open_cache_instances from 8 (default) to 4 Default Server System Variables: extra_max_connections = 1 max_connections = 151 table_open_cache = 2000 table_open_cache_instances = 8 thread_pool_size = 4 LimitNOFILE=16834 is in the following files: support-files/mariadb.service.in support-files/mariadb@.service.in Looking at sql/mysqld.cc lines 3837-3917: wanted_files= (extra_files + max_connections + extra_max_connections + tc_size * 2 * tc_instances); wanted_files+= threadpool_size; Plugging in the default values: wanted_files = (30 + 151 + 1 + 2000 * 2 * 8 + 4) = 32186 However, systemd configuration has LimitNOFILE = 16384, which is far smaller. I suggest increasing LimitNOFILE to 32768.
* | | | | Merge 10.5 into 10.6Marko Mäkelä2021-03-311-3/+8
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.4 into 10.5Marko Mäkelä2021-03-311-3/+8
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.3 into 10.4Marko Mäkelä2021-03-311-3/+8
| | |\ \ \ | | | |/ /
| | | * | Merge 10.2 into 10.3Marko Mäkelä2021-03-311-3/+8
| | | |\ \ | | | | |/
| | | | * MDEV-25240 minor upgrade does not perform server restartbb-10.2-MDEV-25240Alexey Bychko2021-03-291-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we need to stop server instance on upgrade, but it may be started either by SysV init script or by SystemD. this commit adds `mysql` target to `systemctl stop` call. `mysql` may be the name of initscript or an alias while `mariadb` is a systemd unit file.
| | | | * fixed typo in postinst scriptAlexey Bychko2021-03-231-3/+3
| | | | |
| | | * | fixed typo in postinst scriptAlexey Bychko2021-03-231-3/+3
| | | | |
| | * | | fixed typo in postinst scriptAlexey Bychko2021-03-231-3/+3
| | | | |