summaryrefslogtreecommitdiff
path: root/support-files
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Merge remote-tracking branch 'origin/10.1' into 10.2Alexander Barkov2019-09-241-5/+5
| | |\ \ \ | | | |/ /
| | | * | Merge remote-tracking branch 'origin/5.5' into 10.1Alexander Barkov2019-09-241-5/+5
| | | |\ \ | | | | |/
| | | | * MDEV-4968 Old advices in mysql-log-rotate scriptchriscalender2019-09-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change the comments in mysql-log-rotate.sh to refer to mysqld, not mysqld_safe as that's what most distros are using. * Change err-log to log-error as err-log is no longer valid. * Convert tab to space for consistency.
| * | | | Remove --basedir arg from systemd startup scriptsVicențiu Ciorbaru2019-09-242-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The arg was introduced as part of 75bcf1f9ad4a4bb5fa9cb8818abe6ace52e53d85 to fix a SELinux problem caused by mysqld_safe accessing files it should not be via the my_which function. The root cause for this was fixed in 10.3, via 355ee6877beccf27bcd07d845c985fc1a2845aca which eliminated the my_which function from mysqld_safe entirely. Thus, in 10.3, this --basedir flag is not necessary.
* | | | | Merge 10.3 into 10.4Marko Mäkelä2019-09-233-10/+37
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Disable MDEV-20576 assertions until MDEV-20595 has been fixed.
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-09-233-22/+48
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.1 into 10.2Marko Mäkelä2019-09-231-1/+1
| | |\ \ \ | | | |/ /
| | | * | MDEV-19207 systemd service: add instance name in descriptionChristian Hesse2019-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unit files made systemd print: systemd[1]: Started MariaDB 10.3.13 database server (multi-instance). Let's add the instance name, so starting mariadb@foo.service makes it print: systemd[1]: Started MariaDB 10.3.13 database server (multi-instance foo).
| | * | | MDEV-12646: systemd service file changes from FedoraDaniel Black2019-09-203-23/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include comment header that describes overrides. Unit description now includes @VERSION@. After=syslog.target removed - redunant Add --basedir=@prefix to prevent /root/.my.cnf lookups. This is placed after $MYSQLD_OPTIONS in case a user sets a --{no,}default type options which has to be first in the mysqld arguements. Additional changes to multi instance (support-files/mariadb@.service.in): * added @SYSTEMD_EXECSTARTPRE@ / @SYSTEMD_EXECSTARTPOST@ * removed mariadb@bootstrap reference as galera_new_cluster as it's a little too proment. * use_galera_new_cluster.conf updated to override pre/post steps to ensure it has no side effects Signed-off-by: Daniel Black <daniel@linux.vnet.ibm.com>
* | | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-07-281-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-07-261-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-07-261-1/+1
| | |\ \ \ | | | |/ /
| | | * | Merge branch '5.5' into 10.1Oleksandr Byelkin2019-07-251-1/+1
| | | |\ \ | | | | |/
| | | | * use -f with pgrepMostafa Hussein2019-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | pgrep will not be able to get th pid using the full path which is $libexec/mysqld unless -f is being used
* | | | | Merge 10.3 into 10.4Marko Mäkelä2019-07-252-1/+10
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-07-221-2/+3
| |\ \ \ \ | | |/ / /
| | * | | fix libsepol version detection for SUSESergei Golubchik2019-07-211-2/+3
| | | | |
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-07-191-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.1 into 10.2Marko Mäkelä2019-07-181-1/+1
| | |\ \ \ | | | |/ /
| | | * | MDEV-19726 MariaDB server or backup RPM install assumes mysql user existsSergei Golubchik2019-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also get rid of chown: cannot access ‘/var/lib/mysql’: No such file or directory before someone reports a bug that MariaDB server or backup RPM install assumes mysql datadir exists followup for bee24fe1818
| * | | | Merge 10.2 into 10.3Eugene Kosov2019-07-161-0/+8
| |\ \ \ \ | | |/ / /
| | * | | bugfix: RPM installation complains about policy files, mariadb.service is ↵Sergei Golubchik2019-07-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not installed add a versioned libsepol dependency to the server rpm
* | | | | MDEV-19876 pam v2: auth_pam_tool_dir and auth_pam_tool permissions are wrong ↵Sergei Golubchik2019-07-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in RPMs unconditionally set correct filesystem ownership/permissions for the PAM v2 plugin in all cases, be it install, reinstall, or upgrade
* | | | | Workaround for https://github.com/systemd/systemd/issues/1221Sergei Golubchik2019-07-052-24/+16
| | | | | | | | | | | | | | | | | | | | | | | | | Put all capabilities in one CapabilityBoundingSet line, otherwise buggy systemd sets CapabilityBoundingSet=0
* | | | | MDEV-19878 pam v2: pam password authentication doesn't work at allSergei Golubchik2019-07-022-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wait() for the child process to die, let it rest in peace * fix incorrect parentheses * if there was no password on the command line or in .cnf file, pkt will be "", and we need to request the user to enter the password * make sure that auth->salt is always allocated on a permanent memroot. when called from set_user_salt_if_needed(), user_copy and its auth_str are on the thd memroot, but auth_copy->salt is then copied to auth->salt * adjust service files so that systemd wouldn't interfere with our setuid executables also * print the pam error message in debug mode
* | | | | systemd multiinstance - doc fix - version numberDaniel Black2019-07-011-2/+2
| | | | |
* | | | | MDEV-19765 Bug in CMakeLists.txt introduced by MDEV-11670Sergei Golubchik2019-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix a typo followup for 6e5c2466398
* | | | | fix typo support-files/mariadb@.service.infaust2019-06-141-1/+1
| | | | | | | | | | | | | | | Co-Authored-By: grooverdan <daniel@linux.ibm.com>
* | | | | MDEV-11670: mariadb@.service remove alias, clean up documentation/orderDaniel Black2019-06-141-36/+62
| | | | |
* | | | | MDEV-11670: ensure sysconfdir/sysconf2dir are not blank for mariadb@.serviceDaniel Black2019-06-141-2/+12
| | | | |
* | | | | systemd: multi-instance not for Galera, User/Group flexibleDaniel Black2019-06-141-33/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By removing Galera functionality, we remove PermissionsStartOnly=true and hence make this service more flexible for running multiple instances each on a different user.
* | | | | systemd: multi-instance changes to -defaults-group-suffix=.%IDaniel Black2019-06-141-35/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the multi-instance systemd service file was chosen it effectively relied on /etc/my.cnf.d/my{instancename}.cnf file to define its configuration file. This is problematic if running along side a single instance mariadb service which has /etc/my.cnf that reads all configuration file /etc/my.cnf.d/*.cnf. To prevent the service from auto starting up if a user has this previous configuration ConditionPathExists=!@sysconf2dir@/my%I.cnf to ensure that a user with the previous configuration isn't started in a non-intended mode. Documentation in the service file (should be release notes too), described a recommended migration. A new approach was to use --defaults-group-suffix=.%I as an arguement to mysqld and let the user define a [mysqld.{instancename}] group within the configuration file. This way existing global mysqld configuration options are read with the instance name having special overrides of datadir, port, socket etc. A systemd environment variable MYSQLD_MULTI_INSTANCE is used in the defination as it give the user flexability to use multiple segregation mechanisms between services. This is used multiple times within the service which all needed to be kept consistent. Another notable change is mysql_install_db being part of the ExecStartPre. This provides and auto-initialization for users that run multiple instances.
* | | | | MDEV-19706 RPM no longer installs init script on systemd systems, but preun ↵Sergei Golubchik2019-06-111-3/+3
| | | | | | | | | | | | | | | | | | | | script still tries to erase it
* | | | | MDEV-18531 : Use WolfSSL instead of YaSSL as "bundled" SSL/encryption libraryVladislav Vaintroub2019-05-221-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add new submodule for WolfSSL - Build and use wolfssl and wolfcrypt instead of yassl/taocrypt - Use HAVE_WOLFSSL instead of HAVE_YASSL - Increase MY_AES_CTX_SIZE, to avoid compile time asserts in my_crypt.cc (sizeof(EVP_CIPHER_CTX) is larger on WolfSSL)
* | | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-1923-23/+23
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-05-1422-22/+22
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.1 into 10.2Marko Mäkelä2019-05-1322-22/+22
| | |\ \ \ | | | |/ /
| | | * | Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-1122-22/+22
| | | |\ \ | | | | |/
| | | | * Update FSF AddressVicențiu Ciorbaru2019-05-1131-31/+31
| | | | | | | | | | | | | | | | | | | | * Update wrong zip-code
| * | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-05-123-15/+16
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-05-061-0/+3
| | |\ \ \ | | | |/ /
| | | * | MDEV-17640 UMASK_DIR configuration for mysql_install_db is not applied to ↵Sergei Golubchik2019-05-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql database regression after 3db6de33b2b in RPMs continue creating the $datadir outside of mysql_install_db. RPMs put the socket in there, so it cannot be chmod 0700.
| | * | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-05-043-17/+15
| | |\ \ \ | | | |/ /
| | | * | MDEV-17640 UMASK_DIR configuration for mysql_install_db is not applied to ↵Sergei Golubchik2019-04-241-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql database create mysql and test databases with SQL, not mkdir.
| | | * | don't run SysV scripts in scriptlets if systemd is usedSergei Golubchik2019-04-243-15/+18
| | | | |
* | | | | MDEV-10797 RPM includes init script and a systemd unitDaniel Black2019-04-021-3/+5
| | | | | | | | | | | | | | | | | | | | Closes #593
* | | | | don't run SysV scripts in scriptlets if systemd is usedSergei Golubchik2019-04-023-14/+15
| | | | |
* | | | | Merge 10.3 into 10.4Marko Mäkelä2019-03-061-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-03-041-2/+2
| |\ \ \ \ | | |/ / /
| | * | | Merge remote-tracking branch 'origin/10.1' into 10.2Jan Lindström2019-02-281-2/+2
| | |\ \ \ | | | |/ /