Commit Graph

6 Commits

Author SHA1 Message Date
Michal Schorm
a4b2b6b9c9 Fix the logrotate file [2]
In one of the previous commits, I've started to pack a different logrotate file
as it contains the correct path to the logfile of the mysql server.

It has been found, that I've overlooked that the filepath to the mysql server
was still set wrongly.
It was set to a:     '/var/log/mysqld.log'
Instead of expected: '/var/log/mysql/mysql.log'

This path is added to the mysql logrotate configuration file via CMAKE variable
substitution.
However since we haven't specify the variable value,
a default value has been used instead.

The fix to this issue was simple - specify the variable value as the CMAKE
command argument.

--

At the same time, we were using a custom (downstream) variable meant to hold
the same information. We used this variable for generating the correct filepath
to the mysql server logfile in the mysql server configuration file.

Instead of using two different CMAKE variables with the same meaning,
I've changed it so we get rid of the downstream specified variable
and use the upstream specified variable instead.

--

The positive effect is the de-duplication of code and assurance that when we
set the value, it is used everywhere - both in the upstream code and in the
downstream patches.

The tiny negative effect is that at this moment, the names of the variables
differ to the we use in 'mariadb' package.

--

Resolves: #2073434
2022-09-13 10:50:01 +02:00
Norvald H. Ryeng
2f2956058b Update cnf and service files with MySQL 8.0 features and clean up patches. 2018-05-14 14:38:52 +02:00
Honza Horak
062422d0a1 Do not use scl prefix more than once in paths
Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html

Conflicts:
	community-mysql.spec
2015-03-06 20:48:53 +01:00
Bjorn Munch
3266fef508 Update to MySQL 5.6.23
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2015-02-03 14:37:33 +01:00
Honza Horak
740a4a01ca Fix path for sysconfig file
Filter provides in el6 properly
Fix initscript file location
2015-01-25 00:04:17 +01:00
Honza Horak
1eadb03b89 Add configuration file for server 2015-01-12 16:34:36 +01:00