/[smecontribs]/rpms/smeserver-mysql57/contribs10/smeserver-mysql57-2.0.0-SME10148.patch
ViewVC logotype

Contents of /rpms/smeserver-mysql57/contribs10/smeserver-mysql57-2.0.0-SME10148.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Feb 23 19:04:11 2022 UTC (2 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql57-2_0_0-13_el7_sme, smeserver-mysql57-2_0_0-15_el7_sme, smeserver-mysql57-2_0_0-14_el7_sme, HEAD
Initial import

1 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/000readme smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/000readme
2 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/000readme 2017-02-19 09:44:53.000000000 -0500
3 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/000readme 1969-12-31 19:00:00.000000000 -0500
4 @@ -1,33 +0,0 @@
5 -###########################################################
6 -# Here is a cheat-sheet for this file as of MySQL 4.0.14
7 -# 2003-12-18 - tony_clayton@mitel.com
8 -#
9 -# 1. The mysqld binary reads options from the [mysqld] section,
10 -# and then overrides those values with any passed-in
11 -# arguments.
12 -#
13 -# 2. The mysqld_safe script reads options from the following
14 -# sections in order, overriding any previous values with newer
15 -# ones:
16 -# [mysqld] [server] [mysqld_safe] [safe_mysqld]
17 -# It then overrides those values with any passed-in
18 -# arguments, and invokes the mysqld binary (see #1 above) with
19 -# the resulting argument list.
20 -#
21 -# * The server and safe_mysqld sections are deprecated in
22 -# favour of mysqld and mysqld_safe respectively.
23 -#
24 -# 3. The mysql or mysqld initscript reads options from the
25 -# following sections in order, overriding any previous values
26 -# with newer ones:
27 -# [mysqld] [mysql_server] [mysql.server]
28 -# It then overrides those values with any passed-in arguments,
29 -# and invokes the mysqld_safe script (see #2 above) with the
30 -# resulting argument list.
31 -#
32 -# * The SMEServer doesn't have any need for initscript-only
33 -# options, so we don't use mysql_server and mysql.server
34 -# sections.
35 -#
36 -###########################################################
37 -
38 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/005mysqld smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/005mysqld
39 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/005mysqld 2017-02-19 09:44:53.000000000 -0500
40 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/005mysqld 1969-12-31 19:00:00.000000000 -0500
41 @@ -1 +0,0 @@
42 -[mysqld]
43 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/006logfile smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/006logfile
44 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/006logfile 2017-02-19 09:44:53.000000000 -0500
45 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/006logfile 1969-12-31 19:00:00.000000000 -0500
46 @@ -1 +0,0 @@
47 -log-error=/var/log/mysql57-mysqld.log
48 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/006pid-file smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/006pid-file
49 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/006pid-file 2017-03-12 21:11:47.132000000 -0400
50 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/006pid-file 1969-12-31 19:00:00.000000000 -0500
51 @@ -1 +0,0 @@
52 -pid-file=/opt/rh/rh-mysql57/root/var/run/mysqld/mysqld.pid
53 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/007basedir smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/007basedir
54 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/007basedir 2017-03-12 21:11:47.132000000 -0400
55 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/007basedir 1969-12-31 19:00:00.000000000 -0500
56 @@ -1 +0,0 @@
57 -basedir=/opt/rh/rh-mysql57/root/usr
58 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/008datadir smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/008datadir
59 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/008datadir 2017-03-12 21:11:47.132000000 -0400
60 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/008datadir 1969-12-31 19:00:00.000000000 -0500
61 @@ -1 +0,0 @@
62 -datadir=/opt/rh/rh-mysql57/root/var/lib/mysql
63 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/009socket smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/009socket
64 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/009socket 2017-02-19 09:49:56.000000000 -0500
65 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/009socket 1969-12-31 19:00:00.000000000 -0500
66 @@ -1,12 +0,0 @@
67 -socket=/var/lib/mysql/mysql57.sock
68 -{
69 - use esmith::ConfigDB;
70 - my $db = esmith::ConfigDB->open or die "Couldn't open ConfigDB\n";
71 - my $mysql57mysqld = $db->get('mysql57-mysqld') or die "not found";
72 -
73 - my $localonly = $mysql57mysqld->prop(LocalNetworkingOnly) || "no";
74 - $OUT = ($localonly eq 'yes') ? "skip-networking\n" : "# networking is enabled\n";
75 - # define port
76 - my $port = $mysql57mysqld->prop('port') || "3309";
77 - $OUT .= ($localonly eq 'yes') ? "#no port as skip-networking\n" : "port=$port\n";
78 -}
79 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/010mysqld-log-error smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/010mysqld-log-error
80 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/010mysqld-log-error 2017-02-19 09:44:53.000000000 -0500
81 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/010mysqld-log-error 1969-12-31 19:00:00.000000000 -0500
82 @@ -1 +0,0 @@
83 -log-error=/var/log/mysql57-mysqld.log
84 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/011max_allowed_packet smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/011max_allowed_packet
85 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/011max_allowed_packet 2017-02-19 09:44:53.000000000 -0500
86 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/011max_allowed_packet 1969-12-31 19:00:00.000000000 -0500
87 @@ -1 +0,0 @@
88 -max_allowed_packet=16M
89 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/011user smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/011user
90 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/011user 2017-02-19 09:44:53.000000000 -0500
91 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/011user 1969-12-31 19:00:00.000000000 -0500
92 @@ -1 +0,0 @@
93 -user=mysql
94 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/040mysqld_safe smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/040mysqld_safe
95 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/040mysqld_safe 2017-03-12 21:11:47.132000000 -0400
96 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/my.cnf/040mysqld_safe 1969-12-31 19:00:00.000000000 -0500
97 @@ -1,4 +0,0 @@
98 -
99 -{ # allow backwards-compatibility with safe_mysqld (mysql < 4.0)
100 - -f "/opt/rh/rh-mysql57/root/usr/bin/mysqld_safe" ? "[mysqld_safe]" : "[safe_mysqld]";
101 -}
102 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/sysconfig/mysqld/10default smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/sysconfig/mysqld/10default
103 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/sysconfig/mysqld/10default 2017-02-19 09:44:53.000000000 -0500
104 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/mysql57/root/etc/sysconfig/mysqld/10default 1969-12-31 19:00:00.000000000 -0500
105 @@ -1,2 +0,0 @@
106 -socket=/var/lib/mysql/mysql57.sock
107 -MYSQLD_OPTIONS=--skip-networking
108 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/000readme smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/000readme
109 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/000readme 1969-12-31 19:00:00.000000000 -0500
110 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/000readme 2017-02-19 09:44:53.000000000 -0500
111 @@ -0,0 +1,33 @@
112 +###########################################################
113 +# Here is a cheat-sheet for this file as of MySQL 4.0.14
114 +# 2003-12-18 - tony_clayton@mitel.com
115 +#
116 +# 1. The mysqld binary reads options from the [mysqld] section,
117 +# and then overrides those values with any passed-in
118 +# arguments.
119 +#
120 +# 2. The mysqld_safe script reads options from the following
121 +# sections in order, overriding any previous values with newer
122 +# ones:
123 +# [mysqld] [server] [mysqld_safe] [safe_mysqld]
124 +# It then overrides those values with any passed-in
125 +# arguments, and invokes the mysqld binary (see #1 above) with
126 +# the resulting argument list.
127 +#
128 +# * The server and safe_mysqld sections are deprecated in
129 +# favour of mysqld and mysqld_safe respectively.
130 +#
131 +# 3. The mysql or mysqld initscript reads options from the
132 +# following sections in order, overriding any previous values
133 +# with newer ones:
134 +# [mysqld] [mysql_server] [mysql.server]
135 +# It then overrides those values with any passed-in arguments,
136 +# and invokes the mysqld_safe script (see #2 above) with the
137 +# resulting argument list.
138 +#
139 +# * The SMEServer doesn't have any need for initscript-only
140 +# options, so we don't use mysql_server and mysql.server
141 +# sections.
142 +#
143 +###########################################################
144 +
145 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/005mysqld smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/005mysqld
146 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/005mysqld 1969-12-31 19:00:00.000000000 -0500
147 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/005mysqld 2017-02-19 09:44:53.000000000 -0500
148 @@ -0,0 +1 @@
149 +[mysqld]
150 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006logfile smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006logfile
151 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006logfile 1969-12-31 19:00:00.000000000 -0500
152 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006logfile 2017-02-19 09:44:53.000000000 -0500
153 @@ -0,0 +1 @@
154 +log-error=/var/log/mysql57-mysqld.log
155 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006pid-file smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006pid-file
156 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006pid-file 1969-12-31 19:00:00.000000000 -0500
157 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006pid-file 2017-03-12 21:11:47.132000000 -0400
158 @@ -0,0 +1 @@
159 +pid-file=/opt/rh/rh-mysql57/root/var/run/mysqld/mysqld.pid
160 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/007basedir smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/007basedir
161 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/007basedir 1969-12-31 19:00:00.000000000 -0500
162 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/007basedir 2017-03-12 21:11:47.132000000 -0400
163 @@ -0,0 +1 @@
164 +basedir=/opt/rh/rh-mysql57/root/usr
165 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/008datadir smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/008datadir
166 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/008datadir 1969-12-31 19:00:00.000000000 -0500
167 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/008datadir 2017-03-12 21:11:47.132000000 -0400
168 @@ -0,0 +1 @@
169 +datadir=/opt/rh/rh-mysql57/root/var/lib/mysql
170 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/009socket smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/009socket
171 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/009socket 1969-12-31 19:00:00.000000000 -0500
172 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/009socket 2017-02-19 09:49:56.000000000 -0500
173 @@ -0,0 +1,12 @@
174 +socket=/var/lib/mysql/mysql57.sock
175 +{
176 + use esmith::ConfigDB;
177 + my $db = esmith::ConfigDB->open or die "Couldn't open ConfigDB\n";
178 + my $mysql57mysqld = $db->get('mysql57-mysqld') or die "not found";
179 +
180 + my $localonly = $mysql57mysqld->prop(LocalNetworkingOnly) || "no";
181 + $OUT = ($localonly eq 'yes') ? "skip-networking\n" : "# networking is enabled\n";
182 + # define port
183 + my $port = $mysql57mysqld->prop('port') || "3309";
184 + $OUT .= ($localonly eq 'yes') ? "#no port as skip-networking\n" : "port=$port\n";
185 +}
186 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/010mysqld-log-error smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/010mysqld-log-error
187 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/010mysqld-log-error 1969-12-31 19:00:00.000000000 -0500
188 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/010mysqld-log-error 2017-02-19 09:44:53.000000000 -0500
189 @@ -0,0 +1 @@
190 +log-error=/var/log/mysql57-mysqld.log
191 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/011max_allowed_packet smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/011max_allowed_packet
192 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/011max_allowed_packet 1969-12-31 19:00:00.000000000 -0500
193 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/011max_allowed_packet 2017-02-19 09:44:53.000000000 -0500
194 @@ -0,0 +1 @@
195 +max_allowed_packet=16M
196 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/011user smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/011user
197 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/011user 1969-12-31 19:00:00.000000000 -0500
198 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/011user 2017-02-19 09:44:53.000000000 -0500
199 @@ -0,0 +1 @@
200 +user=mysql
201 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/040mysqld_safe smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/040mysqld_safe
202 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/040mysqld_safe 1969-12-31 19:00:00.000000000 -0500
203 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/040mysqld_safe 2017-03-12 21:11:47.132000000 -0400
204 @@ -0,0 +1,4 @@
205 +
206 +{ # allow backwards-compatibility with safe_mysqld (mysql < 4.0)
207 + -f "/opt/rh/rh-mysql57/root/usr/bin/mysqld_safe" ? "[mysqld_safe]" : "[safe_mysqld]";
208 +}
209 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/sysconfig/mysqld/10default smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/sysconfig/mysqld/10default
210 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/sysconfig/mysqld/10default 1969-12-31 19:00:00.000000000 -0500
211 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/sysconfig/mysqld/10default 2017-02-19 09:44:53.000000000 -0500
212 @@ -0,0 +1,2 @@
213 +socket=/var/lib/mysql/mysql57.sock
214 +MYSQLD_OPTIONS=--skip-networking
215 diff -Nur smeserver-mysql57-2.0.0.old/root/var/service/mysql57-mysqld/run smeserver-mysql57-2.0.0/root/var/service/mysql57-mysqld/run
216 --- smeserver-mysql57-2.0.0.old/root/var/service/mysql57-mysqld/run 2017-03-12 21:11:47.133000000 -0400
217 +++ smeserver-mysql57-2.0.0/root/var/service/mysql57-mysqld/run 2017-03-12 21:15:13.280000000 -0400
218 @@ -5,14 +5,14 @@
219 # Since X_SCLS is cleared as well, we lose information about other
220 # collections enabled.
221 . /opt/rh/rh-mysql57/service-environment
222 -for sclname in $MYSQL57_SCLS_ENABLED ; do
223 +for sclname in $RH_MYSQL57_SCLS_ENABLED ; do
224 . /opt/rh/$sclname/enable
225 export X_SCLS="$X_SCLS $sclname"
226 done
227
228 # we want start daemon only inside "scl enable" invocation
229 - if ! scl_enabled mysql57 ; then
230 - echo "Collection mysql57 has to be listed in /opt/rh/rh-mysql57/service-environment"
231 + if ! scl_enabled $sclname ; then
232 + echo "Collection $sclname has to be listed in /opt/rh/rh-mysql57/service-environment"
233 exit 1
234 fi
235
236 diff -Nur smeserver-mysql57-2.0.0.old/createlinks smeserver-mysql57-2.0.0/createlinks
237 --- smeserver-mysql57-2.0.0.old/createlinks 2017-03-12 22:38:56.558000000 -0400
238 +++ smeserver-mysql57-2.0.0/createlinks 2017-03-12 22:41:40.305000000 -0400
239 @@ -54,3 +54,8 @@
240 "bootstrap-console-save");
241
242 safe_symlink("/opt/rh/rh-mysql57/root/var/run/mysqld", "root/var/run/mysql57-mysqld");
243 +
244 +
245 +# link configuration
246 +safe_symlink("/etc/opt/rh/rh-mysql57", "root/opt/rh/rh-mysql57/root/etc");
247 +safe_symlink("/var/opt/rh/rh-mysql57", "root/opt/rh/rh-mysql57/root/var");
248 \ Pas de fin de ligne à la fin du fichier

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed