Commit graph

996 commits

Author SHA1 Message Date
Terje Rosten
b7f33d22d8 Bug#25144379 MYSQLD PROCESS DOES NOT INCLUDE FULL PATH WHEN STARTING MYSQL SERVER
Fix of Bug#25088048 caused paths to be relative, not absolute, this
proved to be problematic.

Fix is to still ignore current working directory, however switch to
using full path of basedir, which is set to parent directory of bin/
directory where mysqld_safe is located.

References to legacy tool mysql_print_defaults are removed, only
my_print_defaults is used these days.

This will also fix:
  Bug#11745176 (11192) MYSQLD_SAFE ONLY EVALUATES --DEFAULTS-FILE OPTION WHEN IT IS THE FIRST OP
  Bug#23013510 (80866) MYSQLD_SAFE SHOULD NOT SEARCH $MY_BASEDIR_VERSION/VAR AS DATADIR
  Bug#25244898 (84173) MYSQLD_SAFE --NO-DEFAULTS & SILENTLY DOES NOT WORK ANY MORE
  Bug#25261472 (84219) INITSCRIPT ERRORS WHEN LAUCHING MYSQLD_SAFE IN NON DEFAULT BASEDIR
  Bug#25319392 (84263) MYSQL.SERVER (MYSQL SERVER STARTUP SCRIPT) CAN NOT WORK,AND EXPORT SOME ERROR.
  Bug#25319457         MYSQLD_SAFE MIGHT FAIL IF $DATADIR HAS TRAILING /
  Bug#25341981         MYSQLD_SAFE ASSUMES INCORRECT BASEDIR WHEN EXECUTED WITH ABSOLUTE PATH
  Bug#25356221 (84427) MYSQLD_SAFE FAILS TO START WHEN USING A FIFO FOR LOG-ERROR (REGRESSION)
  Bug#25365194 (84447) MYSQLD_SAFE DOESN'T CHECK EXISTENCE OF GIVEN BASEDIR PARAMETER
  Bug#25377815         ERRORS WHILE STARTING MYSQLD_SAFE WITH SYM LINK ENABLED
2017-02-13 14:56:28 +01:00
Terje Rosten
9ccd55466d BUG#13788154 INIT.D MYSQL SCRIPT CREATED BY MYSQL SOLARIS PACKAGE FAILS TO RUN DUE TO USE OF PIDOF
pidof is Linuxism, prefer pgrep on other UNIX systems.
2016-12-06 08:54:22 +01:00
Arun Kuruvila
ac143744a9 Bug#24707666: DEFAULT SETTING FOR SECURE-FILE-PRIV SHOULD BE
RESTRICTED IN ALL GA RELEASES

Back port of WL#6782 to 5.5 and 5.6. This also includes
back port of Bug#20771331, Bug#20741572 and Bug#20770671.
Bug#24695274 and Bug#24679907 are also handled along with
this.
2016-09-28 15:52:05 +05:30
Terje Rosten
8b1f4d84ca Bug#24464380 PRIVILEGE ESCALATION USING MYSQLD_SAFE
Argument to malloc-lib must be included in restricted list of
directories, symlink guards added, and mysqld and mysqld-version
options restricted to command line only. Don't redirect errors to
stderr.
2016-08-18 12:19:15 +02:00
Balasubramanian Kandasamy
b1895fb8c9 Bug#21527467 - RPM SCRIPTS FAIL WITH MULTIPLE DATADIR 2015-08-26 19:29:00 +02:00
Balasubramanian Kandasamy
4409bc9d9e Bug#20734434 - SPELLING ERROR \"EMDEDDED\" IN RPM SPEC FILES
- Updated emdedded to embedded
2015-03-24 12:55:43 +01:00
Tor Didriksen
dd4f852953 Bug#20009543 SUPPORT-FILES/BUILD-TAGS TRANSITION TO GIT
Use 'git ls-files' to find source files for etags.
2014-11-12 11:11:10 +01:00
Balasubramanian Kandasamy
5057f47ed9 Rpm 4.9 and newer is more strict regarding weekday in %changelog 2014-10-23 06:56:47 +02:00
Balasubramanian Kandasamy
347234db90 Fix changelog entries build failure 2014-10-21 16:19:47 +02:00
Balasubramanian Kandasamy
010ea6ccc6 Add my.cnf.d to regular rpm for EL7 build 2014-08-20 09:46:38 +02:00
Balasubramanian Kandasamy
9e111f6a2a Corrected typo 2014-08-12 19:37:49 +02:00
Balasubramanian Kandasamy
7b25051e88 Experimental testing 2014-08-12 18:55:05 +02:00
Balasubramanian Kandasamy
09f52fc063 Experimental testing for patch 2014-08-12 18:26:46 +02:00
Balasubramanian Kandasamy
a1538ec5f0 Added my.cnf.d directory, removed mysql-5.5-libmysqlclient-symbols.patch 2014-08-12 16:53:31 +02:00
Balasubramanian Kandasamy
dab1d7d221 Add patch mysql-5.5-libmysqlclient-symbols.patch for el7 2014-08-12 14:32:16 +02:00
Balasubramanian Kandasamy
b9bc2bd434 - Merge from mysql-5.5.39-ol7-release branch
- Reverted version variable
2014-08-06 09:56:37 +02:00
Balasubramanian Kandasamy
1a1e904004 Updated for el7 regular rpms 2014-08-04 15:56:19 +02:00
Balasubramanian Kandasamy
354e923cfe Bug#19172145 - Remove perl(GD) and dtrace dependencies and bench fix 2014-07-09 12:39:19 +02:00
Bjorn Munch
b631743a9f Unconditionally disable dtrace for rpm, barfs on Oracle dtrace 2014-07-02 09:38:43 +02:00
Terje Rosten
5c4937c101 Bug#16395459 TEST AND RESULT FILES WITH EXECUTE BIT
Bug#16415173 CRLF INSTEAD OF LF IN SQL-BENCH SCRIPTS
      
Correct perms and converts from Windows style to UNIX style line endings on some files.
Fix perms on installed ini files.

(MySQL 5.5 version)
2014-06-25 12:35:50 +02:00
Murthy Narkedimilli
42bfa90874 Updated/added copyright header. Added line "use is subject to license terms"
to copyright header.
2014-02-17 18:19:04 +05:30
Murthy Narkedimilli
496abd0814 Updated/added copyright headers 2014-01-06 10:52:35 +05:30
Balasubramanian Kandasamy
ef2238b88e Merge 5.1 => 5.5 2013-10-30 04:12:24 +01:00
Balasubramanian Kandasamy
3d553c27b6 Removed non gpl file docs/mysql.info from community packages 2013-10-30 04:07:07 +01:00
Balasubramanian Kandasamy
9b87a53a10 Reverted the changes to spec file to ignore mysqld_safe.pid file, updated the logic to get the correct count of PID files 2013-09-09 20:07:12 +02:00
Balasubramanian Kandasamy
5da2ffc7c9 Reverted the changes to spec file, updated the logic to get the correct count of PID files 2013-09-09 19:49:44 +02:00
Hery Ramilison
efc72ecf40 Committing patch from venkata.sidagam@oracle.com for Bug#16776528 2013-09-09 18:58:08 +02:00
Hery Ramilison
ba258c7590 Fixing sles11 build that /usr/lib/mysql/plugin is not owned by a package 2013-09-03 18:37:46 +02:00
Balasubramanian Kandasamy
01c83f0926 Fix to ignore mysqld_safe.pid 2013-08-30 17:14:46 +02:00
Balasubramanian Kandasamy
bab5007ae3 Fix to ignore mysqld_safe.pid 2013-08-30 15:02:16 +02:00
Balasubramanian Kandasamy
5b32f1b6fd Corrected the PID_FILE_PATT manipulation 2013-08-30 06:33:02 +02:00
Balasubramanian Kandasamy
52a3029df9 Fix for Bug#17377159, ignore mysqld_safe.pid file created by mysqld_safe script 2013-08-29 14:42:55 +02:00
Balasubramanian Kandasamy
587ae13b24 Fix for Bug#17377159, ignore mysqld_safe.pid file created by mysqld_safe script 2013-08-29 14:33:28 +02:00
Balasubramanian Kandasamy
f7e0cc8204 Corrected Date in the changelog 2013-08-22 16:51:30 +02:00
Balasubramanian Kandasamy
e5a055bd5c Removed bugnumber from the changelog and updated description 2013-08-22 14:58:13 +02:00
Balasubramanian Kandasamy
198f3b466c Reverted Release version 2013-08-20 12:21:35 +02:00
Balasubramanian Kandasamy
a645ecc904 dummy commit 2013-08-16 17:48:54 +02:00
Balasubramanian Kandasamy
7e00382970 Added fix Provides for Bug#17211588 2013-08-16 16:41:20 +02:00
Balasubramanian Kandasamy
dc8d01654b Updated spec file for Bug#17080138 2013-07-10 19:14:41 +02:00
Balasubramanian Kandasamy
cacac93dfd Updated copyright year in the spec file 2013-06-27 10:08:30 +02:00
Balasubramanian Kandasamy
9afde3eb5c - Spec file cleanup for 5.5.33 release to resolve rpm dependencies bugs
Bug16785036 - RPM REQUIRES: MISSING PACKAGES ON RHEL 6 (AND PROBABLY 5)
Bug 16878042 - CANNOT KEEP SEVERAL MAJOR VERSIONS OF MYSQL IN THE SAME YUM REPOSITORY
2013-06-27 09:18:48 +02:00
Balasubramanian Kandasamy
1826c425eb Cleaned up spec file for 5.5.33 release 2013-06-26 11:43:44 +02:00
Tor Didriksen
a040586cce Bug#16729109: FIX COMPILATION WARNINGS WITH GCC 4.8
Backport to 5.5
(external Bug#69407 Build warnings with mysql)
2013-06-14 10:52:23 +02:00
Balasubramanian Kandasamy
03120ccb80 Updated spec file to ignore upgrade error message 2013-05-07 09:14:51 +02:00
balasubramanian.kandasamy@oracle.com
0ab3a13703 Merge from mysql-5.5.31-release 2013-04-18 12:52:59 +02:00
Murthy Narkedimilli
ecf40a0efd Merging the changes for Bug 16633169 - MYSQL.INFO CONTAINS OUTDATED INFORMATION. 2013-04-16 12:17:18 +02:00
Murthy Narkedimilli
1ac26c5a9f Bug 16633169 - MYSQL.INFO CONTAINS OUTDATED INFORMATION. 2013-04-16 12:12:18 +02:00
Nirbhay Choubey
c60a9f740c local merge. 2013-04-09 14:03:35 +05:30
Nirbhay Choubey
84b942d103 Backporting patch for bug#15852074. 2013-04-09 14:00:05 +05:30
Balasubramanian Kandasamy
a8d7b6dd6b Reverted MySQL Release Engineering mail address 2013-03-25 13:50:21 +01:00