1 |
jpp |
1.1 |
Summary: Koozali SME Server specific mysql configuration and templates. |
2 |
|
|
%define name smeserver-mysql |
3 |
|
|
Name: %{name} |
4 |
|
|
%define version 2.7.0 |
5 |
jpp |
1.31 |
%define release 17 |
6 |
jpp |
1.1 |
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: GPL |
9 |
|
|
Group: Networking/Daemons |
10 |
|
|
Source: %{name}-%{version}.tar.xz |
11 |
jpp |
1.3 |
Patch0: smeserver-mysql-2.7.0-bz11899-sclo.patch |
12 |
jpp |
1.24 |
Patch1: smeserver-mysql-2.7.0-bz11922-mysqlinit.patch |
13 |
jpp |
1.25 |
Patch2: smeserver-mysql-2.7.0-bz11936.patch |
14 |
jpp |
1.30 |
Patch3: smeserver-mysql-2.7.0-bz11953-mysql.init-logging.patch |
15 |
jpp |
1.31 |
Patch4: smeserver-mysql-2.7.0-bz12262-skipnetworking.patch |
16 |
jpp |
1.1 |
|
17 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
Requires: mariadb-server |
20 |
jpp |
1.19 |
# mariadb after 5.5 /in Centos 8 will package mysql_upgrade in mariadb-server-utils |
21 |
|
|
# Requires: /usr/bin/mysql_upgrade |
22 |
jpp |
1.1 |
Requires: mariadb |
23 |
|
|
Requires: e-smith-base |
24 |
|
|
Requires: e-smith-lib >= 1.15.1-19 |
25 |
|
|
Provides: e-smith-mysql = 2.7.0 |
26 |
|
|
Obsoletes: e-smith-mysql < 2.7.0 |
27 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
|
|
AutoReqProv: no |
29 |
|
|
|
30 |
|
|
%description |
31 |
|
|
This package adds necessary startup and configuration items for |
32 |
|
|
mysql. |
33 |
|
|
|
34 |
|
|
|
35 |
|
|
%prep |
36 |
|
|
%setup |
37 |
jpp |
1.3 |
%patch0 -p1 |
38 |
jpp |
1.24 |
%patch1 -p1 |
39 |
jpp |
1.25 |
%patch2 -p1 |
40 |
jpp |
1.30 |
%patch3 -p1 |
41 |
jpp |
1.31 |
%patch4 -p1 |
42 |
jpp |
1.1 |
|
43 |
|
|
%build |
44 |
|
|
for ver in 101 102 103 105 |
45 |
|
|
do |
46 |
|
|
mkdir root$ver |
47 |
|
|
done |
48 |
|
|
perl createlinks |
49 |
|
|
|
50 |
|
|
######################################### |
51 |
|
|
# full job to create all needed version |
52 |
|
|
######################################### |
53 |
|
|
declare -A versions=([101]="10.1" [102]="10.2" [103]="10.3" [105]="10.5") |
54 |
|
|
declare -A ports=([101]="3310" [102]="3311" [103]="3312" [105]="3313") |
55 |
|
|
|
56 |
|
|
for ver in 101 102 103 105 |
57 |
|
|
do |
58 |
|
|
##TODO seen those |
59 |
|
|
|
60 |
|
|
# default values from /etc/opt/rh/rh-mariadb101/my.cnf.d/mariadb-server.cnf |
61 |
|
|
basedir="/opt/rh/rh-mariadb$ver/root/usr" |
62 |
|
|
datadir="/var/opt/rh/rh-mariadb$ver/lib/mysql" |
63 |
jpp |
1.8 |
socket="/var/lib/mysql/mariadb$ver.sock" |
64 |
jpp |
1.1 |
logerror="/var//log/mariadb$ver/mariadb.log" |
65 |
|
|
#"/var/opt/rh/rh-mariadb$ver/log/mariadb/mariadb.log" |
66 |
|
|
pidfile="/var/run/rh-mariadb$ver-mariadb/mariadb.pid" |
67 |
|
|
vers="${versions[$ver]}" |
68 |
|
|
port="${ports[$ver]}" |
69 |
|
|
|
70 |
|
|
# we could choose to override /etc/opt/rh/rh-mariadb101/my.cnf or to force to share /etc/mariadb.log |
71 |
|
|
|
72 |
|
|
##Folders |
73 |
|
|
mkdir -p root$ver/etc/e-smith/sql/init$ver |
74 |
|
|
mkdir -p root$ver/home/e-smith/db/mariadb$ver |
75 |
|
|
mkdir -p root$ver/var/log/mariadb$ver |
76 |
|
|
mkdir -p root$ver/home/e-smith/db/mysql/mariadb$ver |
77 |
|
|
mkdir -p root$ver/etc/e-smith/events/actions |
78 |
|
|
|
79 |
|
|
# create configuration db default |
80 |
|
|
#rm -rf etc/e-smith/db/configuration |
81 |
|
|
mkdir -p root$ver/etc/e-smith/db/configuration/{defaults/mariadb$ver-mariadb,defaults/mariadb$ver-mysql.init,migrate} |
82 |
|
|
echo "yes" > root$ver/etc/e-smith/db/configuration/defaults/mariadb$ver-mariadb/LocalNetworkingOnly |
83 |
|
|
echo "enabled" > root$ver/etc/e-smith/db/configuration/defaults/mariadb$ver-mariadb/status |
84 |
|
|
echo "service" > root$ver/etc/e-smith/db/configuration/defaults/mariadb$ver-mariadb/type |
85 |
|
|
echo "enabled" > root$ver/etc/e-smith/db/configuration/defaults/mariadb$ver-mysql.init/status |
86 |
|
|
echo "service" > root$ver/etc/e-smith/db/configuration/defaults/mariadb$ver-mysql.init/type |
87 |
|
|
|
88 |
|
|
# create templates.metadata |
89 |
|
|
## for /etc/e-smith/templates/etc/my.cnf/ => /etc/opt/rh/rh-mariadb$ver/my.cnf |
90 |
|
|
mkdir -p root$ver/etc/e-smith/templates.metadata/etc/opt/rh/rh-mariadb$ver |
91 |
|
|
echo 'TEMPLATE_PATH="/etc/my.cnf"' > root$ver/etc/e-smith/templates.metadata/etc/opt/rh/rh-mariadb$ver/my.cnf |
92 |
|
|
|
93 |
|
|
# rename/move files |
94 |
|
|
|
95 |
|
|
#TODO /etc/e-smith/events |
96 |
|
|
mv root/etc/e-smith/events/smeserver-mariadb$ver-update root$ver/etc/e-smith/events/ |
97 |
|
|
#bootstrap-console-save templates + actions |
98 |
|
|
mkdir -p root$ver/etc/e-smith/events/bootstrap-console-save/templates2expand/etc/e-smith/sql/ |
99 |
|
|
mkdir -p root$ver/etc/e-smith/events/bootstrap-console-save/templates2expand/etc/opt/rh |
100 |
|
|
mv root/etc/e-smith/events/bootstrap-console-save/S40mariadb$ver-load-tables root$ver/etc/e-smith/events/bootstrap-console-save/ |
101 |
|
|
mv root/etc/e-smith/events/bootstrap-console-save/templates2expand/etc/e-smith/sql/init$ver root$ver/etc/e-smith/events/bootstrap-console-save//templates2expand/etc/e-smith/sql/ |
102 |
|
|
mv root/etc/e-smith/events/bootstrap-console-save/templates2expand/etc/opt/rh/rh-mariadb$ver root$ver/etc/e-smith/events/bootstrap-console-save//templates2expand/etc/opt/rh/ |
103 |
|
|
#pre-backup actions |
104 |
|
|
mkdir -p root$ver/etc/e-smith/events/pre-backup |
105 |
|
|
mv root/etc/e-smith/events/pre-backup/S*mariadb$ver-* root$ver/etc/e-smith/events/pre-backup/ |
106 |
|
|
#post-backup actions |
107 |
|
|
mkdir -p root$ver/etc/e-smith/events/post-backup |
108 |
|
|
mv root/etc/e-smith/events/post-backup/S*mariadb$ver-* root$ver/etc/e-smith/events/post-backup/ |
109 |
|
|
#pre-restore actions + service |
110 |
|
|
mkdir -p root$ver/etc/e-smith/events/pre-restore |
111 |
|
|
mv root/etc/e-smith/events/pre-restore/S*mariadb$ver-* root$ver/etc/e-smith/events/pre-restore/ |
112 |
|
|
#timezone-update service |
113 |
|
|
|
114 |
|
|
|
115 |
|
|
#/etc/e-smith/events/actions |
116 |
|
|
#TODO |
117 |
|
|
cp rootscl/etc/e-smith/events/actions/mariadb_VER_-delete-db-files root$ver/etc/e-smith/events/actions/mariadb${ver}-delete-db-files |
118 |
|
|
cp rootscl/etc/e-smith/events/actions/mariadb_VER_-delete-dumped-tables root$ver/etc/e-smith/events/actions/mariadb${ver}-delete-dumped-tables |
119 |
|
|
cp rootscl/etc/e-smith/events/actions/mariadb_VER_-dump-tables root$ver/etc/e-smith/events/actions/mariadb${ver}-dump-tables |
120 |
|
|
cp rootscl/etc/e-smith/events/actions/mariadb_VER_-load-tables root$ver/etc/e-smith/events/actions/mariadb${ver}-load-tables |
121 |
|
|
sed -i root$ver/etc/e-smith/events/actions/mariadb${ver}-delete-db-files \ |
122 |
|
|
-i root$ver/etc/e-smith/events/actions/mariadb${ver}-delete-dumped-tables \ |
123 |
|
|
-i root$ver/etc/e-smith/events/actions/mariadb${ver}-dump-tables \ |
124 |
|
|
-i root$ver/etc/e-smith/events/actions/mariadb${ver}-load-tables \ |
125 |
jpp |
1.20 |
-e "s_!!!VER!!!_${ver}_g" \ |
126 |
|
|
-e "s_!!!SOCKET!!!_${socket}_g" |
127 |
jpp |
1.1 |
|
128 |
|
|
##metadata |
129 |
jpp |
1.22 |
mkdir -p root$ver/etc/e-smith/templates.metadata/etc/e-smith/sql |
130 |
jpp |
1.21 |
cp -a root/etc/e-smith/templates.metadata/etc/e-smith/sql/init root$ver/etc/e-smith/templates.metadata/etc/e-smith/sql/init$ver |
131 |
jpp |
1.1 |
|
132 |
|
|
|
133 |
|
|
##templates |
134 |
|
|
mkdir -p root$ver/etc/e-smith/templates/etc/e-smith/sql/init$ver |
135 |
|
|
cp root/etc/e-smith/templates/etc/e-smith/sql/init/* root$ver/etc/e-smith/templates/etc/e-smith/sql/init$ver |
136 |
|
|
sed -i root$ver/etc/e-smith/templates/etc/e-smith/sql/init$ver/00_restore_dumped_dbs -i root$ver/etc/e-smith/templates/etc/e-smith/sql/init$ver/10mysql_upgrade \ |
137 |
|
|
-e "s_e-smith/db/mysql_e-smith/db/mariadb${ver}_g" \ |
138 |
|
|
-e "s_/usr/bin/mysql_/opt/rh/rh-mariadb${ver}/root/usr/bin/mysql_g" \ |
139 |
jpp |
1.25 |
-e "s_mariadb.service_mariadb$ver-mariadb.service_" \ |
140 |
jpp |
1.1 |
-e "s_/var/run/mariadb/mariadb.pid_${pidfile}_g" \ |
141 |
jpp |
1.26 |
-e "s_mysqld_mariadb$ver-mariadb_g" \ |
142 |
jpp |
1.1 |
-e "s_| mysql |_| /opt/rh/rh-mariadb${ver}/root/usr/bin/mysql --socket=$socket |_g" \ |
143 |
|
|
-e "s_mysql\_upgrade_mysql\_upgrade --socket=$socket _g" |
144 |
|
|
mkdir -p root$ver/etc/e-smith/templates/etc/my.cnf |
145 |
|
|
echo " |
146 |
|
|
[mariadb-$vers]" > root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-05mariadb |
147 |
|
|
echo "basedir=$basedir" > root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-07basedir |
148 |
|
|
echo "datadir=$datadir" > root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-08datadir |
149 |
jpp |
1.31 |
#cp -a root/etc/e-smith/templates/etc/my.cnf/009socket root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket |
150 |
|
|
#sed -i root$ver/etc/e-smith/templates/etc/my.cnf/$ver-09socket \ |
151 |
|
|
# -e "s_mariadb_{'mariadb${ver}\-mariadb'}_" \ |
152 |
|
|
# -e "s_^socket.*_socket=${socket}_" |
153 |
jpp |
1.32 |
cp rootscl/etc/e-smith/templates/etc/my.conf/_VER_-09socket root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket |
154 |
jpp |
1.31 |
sed -i root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket \ |
155 |
|
|
-e "s_!!!VER!!!_${ver}_g" \ |
156 |
|
|
-e "s_!!!PORT!!!_${port}_g" |
157 |
jpp |
1.1 |
cp rootscl/etc/e-smith/templates/etc/my.conf/_VER_-10port root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-10port |
158 |
|
|
sed -i root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-10port \ |
159 |
|
|
-e "s_!!!VER!!!_${ver}_g" \ |
160 |
|
|
-e "s_!!!PORT!!!_${port}_g" |
161 |
|
|
|
162 |
|
|
cp -a root/etc/e-smith/templates/etc/my.cnf/014server_system_variables root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-14server_system_variables |
163 |
|
|
sed -i root$ver/etc/e-smith/templates/etc/my.cnf/$ver-14server_system_variables \ |
164 |
|
|
-e "s_mariadb_mariadb${ver}\-mariadb_" |
165 |
|
|
cp -a root/etc/e-smith/templates/etc/my.cnf/015logerror root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-15logerror |
166 |
|
|
sed -i root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-15logerror \ |
167 |
|
|
-e "s_^log\_error.*_log\_error=${logerror}_" |
168 |
|
|
|
169 |
|
|
## /sbin/e-smith |
170 |
|
|
mkdir -p root$ver/sbin/e-smith/systemd |
171 |
|
|
#!!!VER!!! |
172 |
|
|
cp rootscl/sbin/e-smith/systemd/mariadb_VER_-initialize root$ver/sbin/e-smith/systemd/mariadb${ver}-initialize |
173 |
|
|
cp rootscl/sbin/e-smith/systemd/mariadb_VER_-mysql.init root$ver/sbin/e-smith/systemd/mariadb${ver}-mysql.init |
174 |
|
|
cp rootscl/sbin/e-smith/mariadb_VER_-preload root$ver/sbin/e-smith/mariadb${ver}-preload |
175 |
|
|
sed -i root$ver/sbin/e-smith/systemd/mariadb${ver}-initialize -i root$ver/sbin/e-smith/systemd/mariadb${ver}-mysql.init \ |
176 |
|
|
-i root$ver/sbin/e-smith/mariadb${ver}-preload \ |
177 |
|
|
-e "s_!!!VER!!!_${ver}_g" \ |
178 |
jpp |
1.16 |
-e "s_!!!SOCKET!!!_${socket}_g" |
179 |
|
|
if [ $ver -ge 104 ] |
180 |
|
|
then |
181 |
|
|
cp rootscl/sbin/e-smith/systemd/mariadb_VER_-post root$ver/sbin/e-smith/systemd/mariadb${ver}-post |
182 |
|
|
sed -i root$ver/sbin/e-smith/systemd/mariadb${ver}-post -e "s_!!!VER!!!_${ver}_g" -e "s_!!!SOCKET!!!_${socket}_g" |
183 |
|
|
fi |
184 |
|
|
|
185 |
jpp |
1.1 |
|
186 |
|
|
## logrotate |
187 |
|
|
mkdir -p root$ver/etc/logrotate.d/ |
188 |
jpp |
1.3 |
sed rootscl/etc/logrotate.d/mariadb_VER_ -e "s_!!!VER!!!_${ver}_g" \ |
189 |
|
|
-e "s_!!!SOCKET!!!_${socket}_g" > root$ver/etc/logrotate.d/mariadb${ver} |
190 |
jpp |
1.1 |
|
191 |
|
|
|
192 |
|
|
#systemd service |
193 |
|
|
mkdir -p root$ver/usr/lib/systemd/system/ |
194 |
|
|
### the upstream service is called rh-mariadb$ver-mariadb.service |
195 |
|
|
# we use our own /usr/lib/systemd/system/mariadb$ver-mariadb |
196 |
|
|
cp rootscl/usr/lib/systemd/system/mariadb_VER_-mariadb.service root$ver/usr/lib/systemd/system/mariadb${ver}-mariadb.service |
197 |
|
|
cp rootscl/usr/lib/systemd/system/mariadb_VER_-mysql.init.service root$ver/usr/lib/systemd/system/mariadb${ver}-mysql.init.service |
198 |
|
|
sed -i root$ver/usr/lib/systemd/system/mariadb${ver}-mariadb.service -i root$ver/usr/lib/systemd/system/mariadb${ver}-mysql.init.service \ |
199 |
|
|
-e "s_!!!VER!!!_${ver}_g" |
200 |
jpp |
1.3 |
if [ $ver -ge 102 ] |
201 |
|
|
then |
202 |
|
|
sed -i root$ver/usr/lib/systemd/system/mariadb${ver}-mariadb.service \ |
203 |
jpp |
1.27 |
-e "s/_safe//" \ |
204 |
|
|
-e "s/^ExecStopPost.*//"; |
205 |
jpp |
1.3 |
fi |
206 |
jpp |
1.12 |
if [ $ver -ge 104 ] |
207 |
|
|
then |
208 |
|
|
sed -i root$ver/usr/lib/systemd/system/mariadb${ver}-mariadb.service \ |
209 |
jpp |
1.16 |
-e 's_set.password$_set.password2_' |
210 |
|
|
sed -i root$ver/usr/lib/systemd/system/mariadb${ver}-mariadb.service \ |
211 |
|
|
-e "/^#ExecStartPost=/ i ExecStartPost=\/sbin\/e-smith\/systemd\/mariadb${ver}-post" |
212 |
|
|
|
213 |
jpp |
1.12 |
fi |
214 |
jpp |
1.3 |
|
215 |
jpp |
1.1 |
#### TODO check it is similar to rh one and functional ! |
216 |
|
|
|
217 |
jpp |
1.16 |
#/usr/bin to ease user |
218 |
jpp |
1.1 |
mkdir root$ver/usr/bin |
219 |
|
|
for i in mysql mysqlshow mysqladmin mysqldump mysqlimport mysqlbinlog |
220 |
|
|
do |
221 |
jpp |
1.11 |
echo "/opt/rh/rh-mariadb${ver}/root/usr/bin/$i --socket=/var/lib/mysql/mariadb${ver}.sock \"\$@\"" >root$ver/usr/bin/$i${ver} |
222 |
jpp |
1.1 |
done |
223 |
jpp |
1.4 |
|
224 |
|
|
#phpMyAdmin template |
225 |
jpp |
1.7 |
mkdir -p root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/ |
226 |
jpp |
1.4 |
sed rootscl/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql_VER_ \ |
227 |
jpp |
1.15 |
-e "s_!!!SOCKET!!!_${socket}_g" \ |
228 |
jpp |
1.6 |
-e "s_!!!VER!!!_${ver}_g" > root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql${ver} |
229 |
jpp |
1.4 |
|
230 |
jpp |
1.1 |
done |
231 |
|
|
|
232 |
|
|
################################################### |
233 |
|
|
# end of per version generation |
234 |
|
|
################################################## |
235 |
|
|
|
236 |
|
|
|
237 |
|
|
%install |
238 |
|
|
rm -rf $RPM_BUILD_ROOT |
239 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
240 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
241 |
|
|
--file "/sbin/e-smith/systemd/mariadb-initialize" 'attr(0554,root,root)' \ |
242 |
|
|
--file "/sbin/e-smith/systemd/mysql.init" 'attr(0554,root,root)' \ |
243 |
|
|
--dir '/home/e-smith/db/mysql' 'attr(0750,root,root)' \ |
244 |
|
|
--dir "/var/log/mariadb" 'attr(0750,mysql,mysql)' \ |
245 |
jpp |
1.30 |
--dir "/var/log/mysql.init" 'attr(0750,root,root)' \ |
246 |
jpp |
1.1 |
> %{name}-%{version}-filelist |
247 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
248 |
|
|
|
249 |
|
|
for ver in 101 102 103 105 |
250 |
|
|
do |
251 |
|
|
#rm -rf $RPM_BUILD_ROOT |
252 |
|
|
(cd root$ver ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
253 |
|
|
/sbin/e-smith/genfilelist root$ver/ \ |
254 |
|
|
--file "/sbin/e-smith/systemd/mariadb$ver-initialize" 'attr(0554,root,root)' \ |
255 |
|
|
--file "/sbin/e-smith/systemd/mariadb$ver-mysql.init" 'attr(0554,root,root)' \ |
256 |
jpp |
1.18 |
--file "/sbin/e-smith/systemd/mariadb$ver-post" 'attr(0554,root,root)' \ |
257 |
jpp |
1.1 |
--dir "/home/e-smith/db/mariadb$ver" 'attr(0750,root,root)' \ |
258 |
|
|
--dir "/var/log/mariadb$ver" 'attr(0750,mysql,mysql)' \ |
259 |
jpp |
1.3 |
--file "/usr/bin/mysql$ver" 'attr(0554,root,root)' \ |
260 |
|
|
--file "/usr/bin/mysqladmin$ver" 'attr(0554,root,root)' \ |
261 |
|
|
--file "/usr/bin/mysqlbinlog$ver" 'attr(0554,root,root)' \ |
262 |
|
|
--file "/usr/bin/mysqldump$ver" 'attr(0554,root,root)' \ |
263 |
|
|
--file "/usr/bin/mysqlimport$ver" 'attr(0554,root,root)' \ |
264 |
|
|
--file "/usr/bin/mysqlshow$ver" 'attr(0554,root,root)' \ |
265 |
jpp |
1.1 |
| grep -vE '/home/e-smith/db/mysql$' \ |
266 |
|
|
> %{name}-%{version}-filelist-mariadb$ver |
267 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist-mariadb$ver |
268 |
|
|
done |
269 |
|
|
|
270 |
|
|
|
271 |
|
|
%clean |
272 |
|
|
rm -rf $RPM_BUILD_ROOT |
273 |
|
|
|
274 |
|
|
%pre |
275 |
|
|
if [ $1 -gt 1 ] ; then |
276 |
|
|
if [ -e /var/service/mariadb/run ] ; then |
277 |
|
|
/usr/bin/sv d mariadb |
278 |
|
|
/usr/bin/sv d mariadb/log |
279 |
|
|
fi |
280 |
|
|
fi |
281 |
|
|
|
282 |
|
|
%post |
283 |
|
|
|
284 |
|
|
%postun |
285 |
|
|
|
286 |
|
|
%files -f %{name}-%{version}-filelist |
287 |
|
|
%defattr(-,root,root) |
288 |
|
|
|
289 |
|
|
#---------------------------------------------------- |
290 |
|
|
%package -n smeserver-mariadb101 |
291 |
|
|
Summary: Koozali SME Server mariadb 10.1 |
292 |
|
|
Group: Database |
293 |
|
|
Requires: rh-mariadb101 |
294 |
|
|
Requires: rh-mariadb101-mariadb |
295 |
|
|
Requires: rh-mariadb101-mariadb-server |
296 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
297 |
|
|
|
298 |
|
|
%description -n smeserver-mariadb101 |
299 |
|
|
Koozali SME Server configuration package for mariadb101 RH SCLo |
300 |
|
|
|
301 |
|
|
%files -n smeserver-mariadb101 -f %{name}-%{version}-filelist-mariadb101 |
302 |
|
|
%defattr(-,root,root) |
303 |
|
|
|
304 |
|
|
#---------------------------------------------------- |
305 |
|
|
%package -n smeserver-mariadb102 |
306 |
|
|
Summary: Koozali SME Server mariadb 10.2 |
307 |
|
|
Group: Database |
308 |
|
|
Requires: rh-mariadb102 |
309 |
|
|
Requires: rh-mariadb102-mariadb |
310 |
|
|
Requires: rh-mariadb102-mariadb-server |
311 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
312 |
|
|
|
313 |
|
|
%description -n smeserver-mariadb102 |
314 |
|
|
Koozali SME Server configuration package for mariadb102 RH SCLo |
315 |
|
|
|
316 |
|
|
%files -n smeserver-mariadb102 -f %{name}-%{version}-filelist-mariadb102 |
317 |
|
|
%defattr(-,root,root) |
318 |
|
|
|
319 |
|
|
#---------------------------------------------------- |
320 |
|
|
%package -n smeserver-mariadb103 |
321 |
|
|
Summary: Koozali SME Server mariadb 10.3 |
322 |
|
|
Group: Database |
323 |
|
|
Requires: rh-mariadb103 |
324 |
|
|
Requires: rh-mariadb103-mariadb |
325 |
|
|
Requires: rh-mariadb103-mariadb-server |
326 |
jpp |
1.19 |
Requires: rh-mariadb103-mariadb-server-utils |
327 |
jpp |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
328 |
|
|
|
329 |
|
|
%description -n smeserver-mariadb103 |
330 |
|
|
Koozali SME Server configuration package for mariadb103 RH SCLo |
331 |
|
|
|
332 |
|
|
%files -n smeserver-mariadb103 -f %{name}-%{version}-filelist-mariadb103 |
333 |
|
|
%defattr(-,root,root) |
334 |
|
|
|
335 |
|
|
#---------------------------------------------------- |
336 |
|
|
%package -n smeserver-mariadb105 |
337 |
|
|
Summary: Koozali SME Server mariadb 10.5 |
338 |
|
|
Group: Database |
339 |
|
|
Requires: rh-mariadb105 |
340 |
|
|
Requires: rh-mariadb105-mariadb |
341 |
|
|
Requires: rh-mariadb105-mariadb-server |
342 |
jpp |
1.19 |
Requires: rh-mariadb105-mariadb-server-utils |
343 |
jpp |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
344 |
jpp |
1.13 |
Requires: smeserver-mysql >= 2.7.0-5 |
345 |
jpp |
1.1 |
%description -n smeserver-mariadb105 |
346 |
|
|
Koozali SME Server configuration package for mariadb105 RH SCLo |
347 |
|
|
|
348 |
|
|
%files -n smeserver-mariadb105 -f %{name}-%{version}-filelist-mariadb105 |
349 |
|
|
%defattr(-,root,root) |
350 |
|
|
|
351 |
|
|
|
352 |
|
|
#---------------------------------------------------- |
353 |
|
|
|
354 |
|
|
|
355 |
|
|
%changelog |
356 |
jpp |
1.31 |
* Sun Dec 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-17.sme |
357 |
|
|
- fix mariadb overriding skip-networking for other versions [SME: 12262] |
358 |
|
|
|
359 |
jpp |
1.30 |
* Mon Jul 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-16.sme |
360 |
|
|
- use dedicated log file for *mysql.init [SME: 11953] |
361 |
|
|
|
362 |
jcrisp |
1.28 |
* Tue Jun 07 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 2.7.0-15.sme |
363 |
jcrisp |
1.29 |
- Fix init for MariaDB 104+ [SME:11991] |
364 |
jcrisp |
1.28 |
|
365 |
jpp |
1.27 |
* Sun Apr 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-14.sme |
366 |
|
|
- /usr/libexec/mysql-wait-stop not used after mariadb101 [SME: 11936] |
367 |
|
|
|
368 |
jpp |
1.25 |
* Sat Apr 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-13.sme |
369 |
|
|
- fix few typos [SME: 11936] |
370 |
|
|
|
371 |
jpp |
1.24 |
* Sat Apr 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-12.sme |
372 |
|
|
- remove SourcePath from mysql-init service file [SME: 11922] |
373 |
|
|
|
374 |
jpp |
1.23 |
* Wed Mar 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-11.sme |
375 |
|
|
- fix mariadb*-mysql.init path in service file [SME: 11899] |
376 |
|
|
|
377 |
jpp |
1.22 |
* Wed Mar 16 2022 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-10.sme |
378 |
jpp |
1.21 |
- fix sclo metadata path for sql/init templated scripts [SME: 11899] |
379 |
|
|
|
380 |
jpp |
1.20 |
* Wed Mar 16 2022 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-8.sme |
381 |
|
|
- missing sockets for backup of db [SME: 11899] |
382 |
|
|
|
383 |
jpp |
1.19 |
* Mon Mar 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-7.sme |
384 |
|
|
- adding requirement for mariadb-server-utils (105 and 103) [SME: 11899] |
385 |
|
|
|
386 |
jpp |
1.16 |
* Mon Mar 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-6.sme |
387 |
jpp |
1.17 |
- fix password for mariadb 105 [SME: 11899] |
388 |
jpp |
1.16 |
|
389 |
jpp |
1.11 |
* Sun Mar 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-5.sme |
390 |
jpp |
1.8 |
- fix typo in socket, seen with phpmyadmin [SME: 11899] |
391 |
jpp |
1.9 |
- fix permissions for mariadb105 [SME: 11899] |
392 |
jpp |
1.12 |
create a dedicated set.password for mariadb>103 |
393 |
jpp |
1.8 |
|
394 |
jpp |
1.4 |
* Sun Mar 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-3.sme |
395 |
jpp |
1.5 |
- missing phpMyAdmin fragments [SME: 11899] |
396 |
jpp |
1.4 |
|
397 |
jpp |
1.3 |
* Sun Mar 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-2.sme |
398 |
|
|
- fix few sclo issues [SME: 11899] |
399 |
|
|
missing +x for binaries shortcut |
400 |
|
|
mariadb105 passwordless root access |
401 |
|
|
mysqld_safe-scl-helper vs mysqld-scl-helper |
402 |
|
|
|
403 |
jpp |
1.1 |
* Fri Mar 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-1.sme |
404 |
|
|
- prepare spec for multiple version support [SME: 11899] |
405 |
|
|
- package renamed from e-smith-mysql to smeserver-mysql [SME: 11897] |
406 |
|
|
- remove duplicate logrotate and remove unsused template [SME: 11467] |
407 |
|
|
- move scripts /etc/rc.d/init.d/mysql-init to /sbin/e-smith/systemd [SME: 11898] |
408 |
jpp |
1.2 |
- add rh-mariadb101 support [SME: 11901] |
409 |
|
|
- add rh-mariadb102 support [SME: 11902] |
410 |
|
|
- add rh-mariadb103 support [SME: 11903] |
411 |
|
|
- add rh-mariadb105 support [SME: 11904] |
412 |
jpp |
1.1 |
|
413 |
|
|
* Tue Aug 17 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-22.sme |
414 |
|
|
- Remove template and set default max_allowed_packet=16M |
415 |
|
|
|
416 |
|
|
* Thu Mar 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-21.sme |
417 |
|
|
- fix wrong path for set password [SME: 11468] |
418 |
|
|
|
419 |
|
|
* Sat Mar 13 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-20.sme |
420 |
|
|
- fix restore of sme9 backup fails to start mysql.init [SME: 11453] |
421 |
|
|
|
422 |
|
|
* Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme |
423 |
|
|
- add property to enable mysqld slow queries log [SME: 455] |
424 |
|
|
simply use SlowQueries as the amount of second and it is enabled |
425 |
|
|
remove property to stop logging |
426 |
|
|
- more mysqld/mariadb parameter available with properties /templates [SME: 4606] |
427 |
|
|
- ease 4 databit characters with innodb [SME: 11404] |
428 |
|
|
- redirect mariadb log from systemd to file [SME: 11425] |
429 |
|
|
|
430 |
|
|
* Wed Jan 27 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme |
431 |
|
|
- fix backup fails in pre-backup in mysqldump [SME: 7827] |
432 |
|
|
|
433 |
|
|
* Sun Dec 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme |
434 |
|
|
- expand 10mysql_upgrade and restart mysql.init on e-smith-mysql-update [SME: 11120] |
435 |
|
|
this to make sure mariadb upgrade fully and prevent residual 10mysql_upgrade stay in the way |
436 |
|
|
|
437 |
|
|
* Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme |
438 |
|
|
- fix issue with 10mysql_upgrade crashing mariadb [SME: 11120] |
439 |
|
|
also removed noise from spec file |
440 |
|
|
|
441 |
|
|
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
442 |
|
|
- e-smith-update event [SME: 11145] |
443 |
|
|
- mariadb systemd integration [SME: 11021] |
444 |
|
|
move set.password and template |
445 |
|
|
create /usr/lib/systemd/system/mariadb.service.d/sme.conf |
446 |
|
|
create /sbin/e-smith/systemd/mariadb-initialize + chmod |
447 |
|
|
cleanup and remove old /var/service/mariadb |
448 |
|
|
- mysql.init systemd integration [SME: 11120] |
449 |
|
|
create mysql_init.service |
450 |
|
|
|
451 |
|
|
|
452 |
|
|
* Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
453 |
|
|
- systemd skip redirect [SME: 9688] |
454 |
|
|
|
455 |
|
|
* Sat Jul 23 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-12.sme |
456 |
|
|
- Corrected a typo in e-smith-mysql-2.6.0.bz9671.RemoveDummyMysqlDatabase.patch |
457 |
|
|
- [SME: 9671] |
458 |
|
|
|
459 |
|
|
* Thu Jul 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
460 |
|
|
- fix broken link /etc/init.d/supervise/mariadb [SME: 9686] |
461 |
|
|
|
462 |
|
|
* Mon Jul 18 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme |
463 |
|
|
- Remove Dummy database from backup and restoration [SME: 9671] |
464 |
|
|
- Added e-smith-mysql-2.6.0.bz9671.RemoveDummyMysqlDatabase.patch |
465 |
|
|
|
466 |
|
|
* Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
467 |
|
|
- fix forgotten mysqld variables in various scripts [SME: 9438] |
468 |
|
|
- e-smith-mysql-2.6.0-mariadb_forgotten_var.patch |
469 |
|
|
|
470 |
|
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
471 |
|
|
- Use default InnoDB settings [SME: 9439] |
472 |
|
|
|
473 |
|
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme |
474 |
|
|
- Rename mysqld to mariadb [SME: 9438] |
475 |
|
|
|
476 |
|
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
477 |
|
|
- Remove uneeded scriplets %post and %postun [SME: 9422] |
478 |
|
|
|
479 |
|
|
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
480 |
|
|
- new path for pid file with mariadb [SME: 9407] |
481 |
|
|
- my.cnf : Innodb needs to be active for mariadb [SME: 9406] |
482 |
|
|
|
483 |
|
|
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
484 |
|
|
- fix mysql-server not found [SME: 9345] |
485 |
|
|
- now using mariadb-server and mariadb |
486 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
487 |
|
|
by assuming the date is correct and changing the weekday. |
488 |
|
|
Wed Mar 23 2001 --> Wed Mar 21 2001 or Fri Mar 23 2001 or Wed Mar 28 2001 or .... |
489 |
|
|
|
490 |
|
|
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
491 |
|
|
- Initial release to sme10 |
492 |
|
|
|
493 |
|
|
* Sat Apr 26 2014 Ian Wells <esmith@wellsi.com> 2.4.0-9.sme |
494 |
|
|
- Move mysql logging to multilog [SME: 8358] |
495 |
|
|
|
496 |
|
|
* Mon Apr 14 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme |
497 |
|
|
- Remove the information_schema [SME: 8325] |
498 |
|
|
|
499 |
|
|
* Mon Mar 17 2014 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
500 |
|
|
- Use mysql_upgrade in 00_restore_dumped_dbs, by Terje Edseth [SME: 8166] |
501 |
|
|
- Rename 10fix_privilege_tables to 10mysql_upgrade to reduce confusion. |
502 |
|
|
|
503 |
|
|
* Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
504 |
|
|
- Use mysql_upgrade --force due to upgrade to MySQL 5.1 [SME: 8166] |
505 |
|
|
|
506 |
|
|
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme |
507 |
|
|
- Ignore mysql.event table [SME: 7603] |
508 |
|
|
|
509 |
|
|
* Wed Mar 20 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
510 |
|
|
- Use --single-transaction in mysql-dump-tables [SME: 7497] |
511 |
|
|
|
512 |
|
|
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme |
513 |
|
|
- Use mysql_upgrade instead of fix_privilege_tables [SME: 7467] |
514 |
|
|
|
515 |
|
|
* Mon Feb 18 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme |
516 |
|
|
- Remove obsolete innodb_log_arch_dir directive [SME: 7363] |
517 |
|
|
|
518 |
|
|
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
519 |
|
|
- Roll new stream for sme9 |
520 |
|
|
|
521 |
|
|
* Tue Mar 1 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
522 |
|
|
- Cater for open_files_limit option my.cnf through database and template [SME: 6438] |
523 |
|
|
|
524 |
|
|
* Thu Oct 28 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
525 |
|
|
- Fix stripping of starting numbers from script [SME: 6316] |
526 |
|
|
|
527 |
|
|
* Mon Jun 7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
528 |
|
|
- Fix %postun typo [SME: 6030] |
529 |
|
|
|
530 |
|
|
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
531 |
|
|
- Rework log-error logic [SME: 4807] |
532 |
|
|
|
533 |
|
|
* Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
534 |
|
|
- Fix log-error detection algorithm [SME: 4807] |
535 |
|
|
|
536 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
537 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
538 |
|
|
|
539 |
|
|
* Mon Oct 06 2008 Charlie Brady <charlie_brady@mitel.com> 1.13.0-2 |
540 |
|
|
- Capture mysql.init error logs to syslog. [SME: 2918] |
541 |
|
|
|
542 |
|
|
* Mon Oct 6 2008 Stephen Noble <support@dungog.net> 1.13.0-1 |
543 |
|
|
- Roll new dev stream [SME: 4627] |
544 |
|
|
|
545 |
|
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-15 |
546 |
|
|
- quote "$1" in post uninstall script [SME: 349] |
547 |
|
|
|
548 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
549 |
|
|
- Clean up spec so package can be built by koji/plague |
550 |
|
|
|
551 |
|
|
* Sat Apr 21 2007 Shad L. Lords <slords@mail.com> 1.12.0-14 |
552 |
|
|
- Force upgrade script to run even with errors. [SME: 2530] |
553 |
|
|
|
554 |
|
|
* Mon Apr 9 2007 Stephen Noble <Support@dungog.net> 1.12.0-13 |
555 |
|
|
- Add db settings to max_allowed_packet in my.cnf [SME: 2149] |
556 |
|
|
|
557 |
|
|
* Mon Apr 9 2007 Stephen Noble <Support@dungog.net> 1.12.0-12 |
558 |
|
|
- Add to my.cnf [SME: 2149] |
559 |
|
|
|
560 |
|
|
* Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 1.12.0-11 |
561 |
|
|
- Move user to mysql section. [SME: 1474] |
562 |
|
|
|
563 |
|
|
* Wed Dec 27 2006 Shad L. Lords <slords@mail.com> 1.12.0-10 |
564 |
|
|
- Split backups out by database name [SME: 1677] |
565 |
|
|
|
566 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
567 |
|
|
- Update to new release naming. No functional changes. |
568 |
|
|
- Make Packager generic |
569 |
|
|
|
570 |
|
|
* Thu Nov 9 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-08 |
571 |
|
|
- Ensure that failed restore is detected during mysql.init. [SME: 1652] |
572 |
|
|
|
573 |
|
|
* Mon Sep 25 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-07 |
574 |
|
|
- Fix pre-backup failure if mysqld is disabled in config db. [SME: 1937] |
575 |
|
|
|
576 |
|
|
* Tue Jun 27 2006 Filippo Carletti <carletti@mobilia.it> 1.12.0-06 |
577 |
|
|
- Execute mysql_install_db using sh [SME: 1654] |
578 |
|
|
|
579 |
|
|
* Sun Apr 30 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-05 |
580 |
|
|
- Make innodb optional, and configure it as recommended, if enabled. |
581 |
|
|
[SME: 1013] |
582 |
|
|
|
583 |
|
|
* Tue Apr 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-04 |
584 |
|
|
- Add missing semi-colon to FLUSH PRIVILEGES statement [SME: 1229] |
585 |
|
|
|
586 |
|
|
* Mon Apr 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-03 |
587 |
|
|
- Revise last patch - it backed out the db restore [SME: 1229] |
588 |
|
|
|
589 |
|
|
* Mon Apr 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-02 |
590 |
|
|
- Move expansion of user table into set.password so it works |
591 |
|
|
for command line runs as well as db restores [SME: 1229] |
592 |
|
|
|
593 |
|
|
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-01 |
594 |
|
|
- Roll stable stream version. [SME: 1016] |
595 |
|
|
|
596 |
|
|
* Mon Feb 13 2006 Charlie Brady <charlie_brady@mitel.com> 1.11.1-16 |
597 |
|
|
- Update dependencies to include mysql-server RPM. Remove obsolete |
598 |
|
|
dependency on e-smith-packetfilter. [SME: 737] |
599 |
|
|
|
600 |
|
|
* Fri Jan 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.1-15 |
601 |
|
|
- Remove explicit permission setting for /home/e-smith/db from |
602 |
|
|
genfilelist call [SME: 371] |
603 |
|
|
|
604 |
|
|
* Sun Jan 1 2006 Charlie Brady <charlieb@e-smith.com> 1.11.1-14 |
605 |
|
|
- Ensure that mysql is restarted after restore, and avoid race conditions |
606 |
|
|
during mysqld restart during fix_privilege_tables. [SME: 73] |
607 |
|
|
- Remove unnecessary mkdirs in build section - they're done by createlinks |
608 |
|
|
script. |
609 |
|
|
|
610 |
|
|
* Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.1-13 |
611 |
|
|
- Call fix_privilege_tables much earlier and call mysqladmin shutdown |
612 |
|
|
after doing so - Thanks Paul Floor [SME: 73] |
613 |
|
|
|
614 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.1-12 |
615 |
|
|
- Call mysql fix_privilege_tables in mysql.init [SME: 73] |
616 |
|
|
|
617 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.1-11 |
618 |
|
|
- Bump release number only |
619 |
|
|
|
620 |
|
|
* Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com> |
621 |
|
|
- [1.11.1-10] |
622 |
|
|
- Reset the format of the MySQL root password for old dumps [SF: 1325378] |
623 |
|
|
|
624 |
|
|
* Wed Aug 31 2005 Charlie Brady <charlieb@e-smith.com> |
625 |
|
|
- [1.11.1-09] |
626 |
|
|
- Avoid error from db-delete action if db files are not present |
627 |
|
|
(e.g. because they have already been deleted). [SF: 1273797] |
628 |
|
|
|
629 |
|
|
* Mon Aug 29 2005 Charlie Brady <charlieb@e-smith.com> |
630 |
|
|
- [1.11.1-08] |
631 |
|
|
- Fix restore of dumped tables after restore from backup. |
632 |
|
|
Reset root password after restore of dumped dbs. [SF: 1273797] |
633 |
|
|
|
634 |
|
|
* Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com> |
635 |
|
|
- [1.11.1-07] |
636 |
|
|
- Ensure that 'status' property of mysql.init is honoured at |
637 |
|
|
startup. [MN00061795] |
638 |
|
|
|
639 |
|
|
* Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com> |
640 |
|
|
- [1.11.1-06] |
641 |
|
|
- Work around race condition between mysql startup and |
642 |
|
|
mysql.init. [SF: 1217966] |
643 |
|
|
|
644 |
|
|
* Fri Apr 29 2005 Charlie Brady <charlieb@e-smith.com> |
645 |
|
|
- [1.11.1-05] |
646 |
|
|
- Use -f flag in mysql-delete-dumped-tables so that backup |
647 |
|
|
doesn't fail if the file is missing. |
648 |
|
|
|
649 |
|
|
* Fri Apr 15 2005 Charlie Brady <charlieb@e-smith.com> |
650 |
|
|
- [1.11.1-04] |
651 |
|
|
- Change /root/.my.cnf template to use esmith::util::LdapPassword |
652 |
|
|
rather than read of ldap.pw file, to eliminate ordering |
653 |
|
|
depenendence on ldap.pw template expansion. |
654 |
|
|
|
655 |
|
|
* Fri Apr 15 2005 Charlie Brady <charlieb@e-smith.com> |
656 |
|
|
- [1.11.1-03] |
657 |
|
|
- Restore old mysql.init behaviour, to leave any failed scripts |
658 |
|
|
behind for a later attempt, or for admin investigation. [MN00079643] |
659 |
|
|
|
660 |
|
|
* Wed Apr 13 2005 Charlie Brady <charlieb@e-smith.com> |
661 |
|
|
- [1.11.1-02] |
662 |
|
|
- Fix up import of tables after a restore. Remove a few bogus |
663 |
|
|
symlinks. |
664 |
|
|
|
665 |
|
|
* Wed Apr 13 2005 Charlie Brady <charlieb@e-smith.com> |
666 |
|
|
- [1.11.1-01] |
667 |
|
|
- Roll new development stream - 1.11.1 |
668 |
|
|
|
669 |
|
|
* Mon Apr 11 2005 Charlie Brady <charlieb@e-smith.com> |
670 |
|
|
- [1.11.0-16] |
671 |
|
|
- Fix typo and runtime error in run script. Detect table dump |
672 |
|
|
to be restored and set it up for mysql.init to restore it. |
673 |
|
|
|
674 |
|
|
* Sun Apr 10 2005 Charlie Brady <charlieb@e-smith.com> |
675 |
|
|
- [1.11.0-15] |
676 |
|
|
- Remove trap stuff in run script (which works around mysqld brokenness) |
677 |
|
|
and add custom control/{t,q,d,i} scripts. |
678 |
|
|
|
679 |
|
|
* Sun Apr 10 2005 Charlie Brady <charlieb@e-smith.com> |
680 |
|
|
- [1.11.0-14] |
681 |
|
|
- Remove obsolete e-smith-packetfilter Requires: header. |
682 |
|
|
- Do db initialisation in run script, as required, rather than via |
683 |
|
|
special action script. |
684 |
|
|
- Replace all restart-, start- and reload- actions with calls to |
685 |
|
|
'adjust-services'. Update e-smith-lib version dependency. [MN00065576] |
686 |
|
|
- Use generic_template_expand action where possible, in place |
687 |
|
|
of specific actions. Update e-smith-lib dependency. [MN00064130] |
688 |
|
|
|
689 |
|
|
* Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com> |
690 |
|
|
- [1.11.0-13] |
691 |
|
|
- Fix permissions on log/run script. Add missing /var/log/mysqld dir. |
692 |
|
|
[charlieb MN00061220] |
693 |
|
|
|
694 |
|
|
* Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com> |
695 |
|
|
- [1.11.0-12] |
696 |
|
|
- Add missing down file in service directory.. Fix permissions |
697 |
|
|
on run script. [charlieb MN00061220] |
698 |
|
|
|
699 |
|
|
* Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com> |
700 |
|
|
- [1.11.0-11] |
701 |
|
|
- Add missing /service/mysqld symlink [charlieb MN00061220] |
702 |
|
|
|
703 |
|
|
* Mon Dec 20 2004 Charlie Brady <charlieb@e-smith.com> |
704 |
|
|
- [1.11.0-10] |
705 |
|
|
- Run mysqld under supervise. [charlieb MN00061220] |
706 |
|
|
- Replace deprecated Copyright header with License. [charlieb] |
707 |
|
|
|
708 |
|
|
* Tue Jan 6 2004 Michael Soulier <msoulier@e-smith.com> |
709 |
|
|
- [1.11.0-09] |
710 |
|
|
- Added restart to valid arguments to mysql.init. [msoulier 10866] |
711 |
|
|
|
712 |
|
|
* Tue Jan 6 2004 Michael Soulier <msoulier@e-smith.com> |
713 |
|
|
- [1.11.0-08] |
714 |
|
|
- Fixed mysql.init leaving behind failed scripts, and the lack of proper |
715 |
|
|
initscript command-line arguments. [msoulier 10866] |
716 |
|
|
|
717 |
|
|
* Wed Dec 24 2003 Tony Clayton <apc@e-smith.com> |
718 |
|
|
- [1.11.0-07] |
719 |
|
|
- Updating comments in my.cnf [tonyc 10862] |
720 |
|
|
- Don't show redundant log-error option in mysqld_safe [tonyc 10862] |
721 |
|
|
|
722 |
|
|
* Mon Dec 22 2003 Tony Clayton <apc@e-smith.com> |
723 |
|
|
- [1.11.0-06] |
724 |
|
|
- fixing initscript symlink [tonyc 10862] |
725 |
|
|
|
726 |
|
|
* Mon Dec 22 2003 Tony Clayton <apc@e-smith.com> |
727 |
|
|
- [1.11.0-05] |
728 |
|
|
- Add /var/run/mysqld dir for mysql.com compatibility [tonyc 10862] |
729 |
|
|
- Fix initscript symlink [tonyc 10862] |
730 |
|
|
|
731 |
|
|
* Mon Dec 22 2003 Tony Clayton <apc@e-smith.com> |
732 |
|
|
- [1.11.0-04] |
733 |
|
|
- Add initscript symlink for mysql.com compatibility [tonyc 10862] |
734 |
|
|
- Adding /etc/logrotate.d/mysqld templates [tonyc 8662] |
735 |
|
|
|
736 |
|
|
* Thu Dec 18 2003 Tony Clayton <apc@e-smith.com> |
737 |
|
|
- [1.11.0-03] |
738 |
|
|
- Clean up /etc/my.cnf templates and add comments [tonyc 10862] |
739 |
|
|
- Add a more --user=mysql options to actions for 100% coverage [tonyc 10862] |
740 |
|
|
- Remove redundant basedir/datadir options from actions [tonyc 10862] |
741 |
|
|
- Clean up mysql-preload fork/exec stuff [tonyc 10862] |
742 |
|
|
|
743 |
|
|
* Tue Dec 16 2003 Tony Clayton <apc@e-smith.com> |
744 |
|
|
- [1.11.0-02] |
745 |
|
|
- Add --user=mysql to mysqld args in conf-mysql-password [tonyc 10853] |
746 |
|
|
- Future-proof /etc/my.cnf for s/safe_mysqld/mysqld_safe/ change [tonyc 8662] |
747 |
|
|
|
748 |
|
|
* Tue Dec 16 2003 Tony Clayton <apc@e-smith.com> |
749 |
|
|
- [1.11.0-01] |
750 |
|
|
- Changing version to development stream number - 1.11.0 |
751 |
|
|
|
752 |
|
|
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
753 |
|
|
- [1.10.0-01] |
754 |
|
|
- Changing version to stable stream number - 1.10.0 |
755 |
|
|
|
756 |
|
|
* Wed Apr 23 2003 Charlie Brady <charlieb@e-smith.com> |
757 |
|
|
- [1.9.0-03] |
758 |
|
|
- Remove stray " in mysql-dump-tables. [charlieb 8475] |
759 |
|
|
|
760 |
|
|
* Tue Apr 1 2003 Charlie Brady <charlieb@e-smith.com> |
761 |
|
|
- [1.9.0-02] |
762 |
|
|
- Restrict mysql by default to use only unix domain socket. [charlieb 6430] |
763 |
|
|
- Change mysql dump in pre-backup to use quotes, to fix backup/restore problem. |
764 |
|
|
[charlieb 7953] |
765 |
|
|
- Remove conf-mysql-startup - use db initialisation fragments instead |
766 |
|
|
[charlieb 5665] |
767 |
|
|
|
768 |
|
|
* Tue Apr 1 2003 Charlie Brady <charlieb@e-smith.com> |
769 |
|
|
- [1.9.0-01] |
770 |
|
|
- Roll development version to 1.9.0 |
771 |
|
|
|
772 |
|
|
* Mon Mar 17 2003 Lijie Deng <lijied@e-smith.com> |
773 |
|
|
- [1.8.0-03] |
774 |
|
|
- Deleted template-begin/end file [lijied 3295] |
775 |
|
|
|
776 |
|
|
* Thu Jan 23 2003 Charlie Brady <charlieb@e-smith.com> |
777 |
|
|
- [1.8.0-02] |
778 |
|
|
- Fix typo in mysql-restart action script (mysql => mysqld). [charlieb 4774] |
779 |
|
|
|
780 |
|
|
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
781 |
|
|
- [1.8.0-01] |
782 |
|
|
- Rolling stable version number to 1.8.0 |
783 |
|
|
|
784 |
|
|
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
785 |
|
|
- [1.8.0-01] |
786 |
|
|
- Rolling stable version number to 1.8.0 |
787 |
|
|
|
788 |
|
|
* Wed Sep 25 2002 Charlie Brady <charlieb@e-smith.com> |
789 |
|
|
- [1.7.4-10] |
790 |
|
|
- Reverse the recent logic change in mysql.init, now that action() function |
791 |
|
|
in /etc/rc.d/init.d/functions is repaired. Replace deprecated use |
792 |
|
|
of backticks. [charlieb 4728] |
793 |
|
|
|
794 |
|
|
* Mon Sep 23 2002 Charlie Brady <charlieb@e-smith.com> |
795 |
|
|
- [1.7.4-09] |
796 |
|
|
- Actually expand /etc/my.cnf template - that's what it's for! [charlieb 4731] |
797 |
|
|
|
798 |
|
|
* Mon Sep 23 2002 Charlie Brady <charlieb@e-smith.com> |
799 |
|
|
- [1.7.4-08] |
800 |
|
|
- Fix logic problem in mysql.init [charlieb 4728] |
801 |
|
|
|
802 |
|
|
* Tue Sep 10 2002 Charlie Brady <charlieb@e-smith.com> |
803 |
|
|
- [1.7.4-07] |
804 |
|
|
- Add fragment to my.cnf template to disable (for now) innoDB tables, and |
805 |
|
|
hence prevent log file noise. [charlieb 4731] |
806 |
|
|
|
807 |
|
|
* Mon Sep 9 2002 Charlie Brady <charlieb@e-smith.com> |
808 |
|
|
- [1.7.4-06] |
809 |
|
|
- Update mysql-restart action and link into timezone-update event |
810 |
|
|
[charlieb 4774] |
811 |
|
|
|
812 |
|
|
* Mon Sep 9 2002 Charlie Brady <charlieb@e-smith.com> |
813 |
|
|
- [1.7.4-05] |
814 |
|
|
- Set $HOME in mysql.init script itself, otherwise it's not set when |
815 |
|
|
run from the rc run script. Fix filenames displayed in progress message. |
816 |
|
|
[charlieb 4782] |
817 |
|
|
- Remove redundant mysql.conf action script [charlieb 4782] |
818 |
|
|
|
819 |
|
|
* Fri Sep 6 2002 Charlie Brady <charlieb@e-smith.com> |
820 |
|
|
- [1.7.4-04] |
821 |
|
|
- Create newly required email-update event directory. [charlieb 4782] |
822 |
|
|
|
823 |
|
|
* Fri Sep 6 2002 Charlie Brady <charlieb@e-smith.com> |
824 |
|
|
- [1.7.4-03] |
825 |
|
|
- Change mysql-dump-tables and mysql-delete-dumps events to pre-backup and |
826 |
|
|
post-backup events. [charlieb 2745] |
827 |
|
|
- Add mysql-start-if-required action, which checks if mysqld is running, |
828 |
|
|
and start it, then runs mysql.init, if not. Linked into email-update event. |
829 |
|
|
[charlieb 4782] |
830 |
|
|
- Redo conf-mysql-startup using ConfigDB and remove no longer necessary |
831 |
|
|
serviceControl() calls. [charlieb 4782] |
832 |
|
|
- Redo mysql-conf using esmith::templates. [charlieb 4782] |
833 |
|
|
- Change mysql.init script so that it can run programs or just load sql. |
834 |
|
|
[charlieb 4782] |
835 |
|
|
|
836 |
|
|
* Wed Aug 28 2002 Charlie Brady <charlieb@e-smith.com> |
837 |
|
|
- [1.7.4-02] |
838 |
|
|
- Create missing /etc/e-smith/sql/init directory [charlieb 4333] |
839 |
|
|
|
840 |
|
|
* Thu Aug 22 2002 Charlie Brady <charlieb@e-smith.com> |
841 |
|
|
- [1.7.4-01] |
842 |
|
|
- Remove 45DenyMySQL template fragment - it's no longer needed since we |
843 |
|
|
are using connection tracking. [charlieb 4499] |
844 |
|
|
|
845 |
|
|
* Tue Aug 20 2002 Charlie Brady <charlieb@e-smith.com> |
846 |
|
|
- [1.7.3-01] |
847 |
|
|
- Add rc7.d symlinks and don't set obsolete InitscriptsOrder property |
848 |
|
|
of services. [charlieb 4458] |
849 |
|
|
|
850 |
|
|
* Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com> |
851 |
|
|
- [1.7.2-01] |
852 |
|
|
- Change masq script fragment to use iptables. [charlieb 1268] |
853 |
|
|
|
854 |
|
|
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
855 |
|
|
- [1.7.1-01] |
856 |
|
|
- Test build to verify CVS conversion |
857 |
|
|
|
858 |
|
|
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
859 |
|
|
- [1.7.0-01] |
860 |
|
|
- rollRPM: Rolled version number to 1.7.0-01. Includes patches up to 1.6.0-01. |
861 |
|
|
|
862 |
|
|
* Tue Dec 11 2001 Jason Miller <jay@e-smith.com> |
863 |
|
|
- [1.6.0-01] |
864 |
|
|
- rollRPM: Rolled version number to 1.6.0-01. Includes patches up to 1.5.0-03. |
865 |
|
|
|
866 |
|
|
* Thu Dec 6 2001 Adrian Chung <adrianc@e-smith.com> |
867 |
|
|
- [1.5.0-03] |
868 |
|
|
- Adding more verbose error messages to mysql-dump-tables. |
869 |
|
|
- It should exit 0 if an error occurs, it should exit 1, and complain. |
870 |
|
|
|
871 |
|
|
* Wed Oct 31 2001 Adrian Chung <adrianc@e-smith.com> |
872 |
|
|
- [1.5.0-02] |
873 |
|
|
- mysql-restart now restarts mysql if it is running, rather |
874 |
|
|
than only starting it if it is stopped. |
875 |
|
|
- mysql-shutdown has been added |
876 |
|
|
- conf-mysql is now mysql-initialize-db |
877 |
|
|
- new template /etc/my.cnf added |
878 |
|
|
- new action mysql-conf which expands /etc/my.cnf linked to |
879 |
|
|
bootstrap-console-save |
880 |
|
|
|
881 |
|
|
* Mon Oct 29 2001 Adrian Chung <mac@e-smith.com> |
882 |
|
|
- [1.5.0-01] |
883 |
|
|
- Rolled version number to 1.5.0-01. Includes patches upto 1.4.0-03. |
884 |
|
|
- Removed directive to remove post-restore event. |
885 |
|
|
|
886 |
|
|
* Tue Aug 28 2001 Gordon Rowell <gordonr@e-smith.com> |
887 |
|
|
- [1.4.0-03] |
888 |
|
|
- Removed deprecated post-restore event directory |
889 |
|
|
|
890 |
|
|
* Fri Aug 17 2001 gordonr |
891 |
|
|
- [1.4.0-02] |
892 |
|
|
- Autorebuild by rebuildRPM |
893 |
|
|
|
894 |
|
|
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
895 |
|
|
- [1.4.0-01] |
896 |
|
|
- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-18. |
897 |
|
|
|
898 |
|
|
* Wed Aug 08 2001 Tony Clayton <tonyc@e-smith.com> |
899 |
|
|
- [1.3.0-18] |
900 |
|
|
- force mysql.init to sort files in init directory |
901 |
|
|
|
902 |
|
|
* Tue Aug 7 2001 Charlie Brady <charlieb@e-smith.com> |
903 |
|
|
- [1.3.0-17] |
904 |
|
|
- Fix uninitialised variable problem in masq fragment. |
905 |
|
|
|
906 |
|
|
* Wed Jul 04 2001 Gordon Rowell <gordonr@e-smith.com> |
907 |
|
|
- [1.3.0-16] |
908 |
|
|
- Added use esmith::util to mysql-dump-tables |
909 |
|
|
|
910 |
|
|
* Wed Jul 04 2001 Gordon Rowell <gordonr@e-smith.com> |
911 |
|
|
- [1.3.0-15] |
912 |
|
|
- Use esmith::util::LdapPassword rather than direct file read |
913 |
|
|
|
914 |
|
|
* Tue May 29 2001 Tony Clayton <tonyc@e-smith.com> |
915 |
|
|
- [1.3.0-14] |
916 |
|
|
- fixed actions that had tied %conf when calling serviceControl (2 actions) |
917 |
|
|
|
918 |
|
|
* Sat Apr 07 2001 Gordon Rowell <gordonr@e-smith.com> |
919 |
|
|
- [1.3.0-13] |
920 |
|
|
- Forward port patches from 1.2.0-05 to 1.2.0-08 |
921 |
|
|
|
922 |
|
|
* Fri Apr 06 2001 Tony Clayton <tonyc@e-smith.com> |
923 |
|
|
- [1.2.0-08] |
924 |
|
|
- fixed mkdir calls in mysql-delete-dumped-tables (arguments in wrong order) |
925 |
|
|
|
926 |
|
|
* Thu Apr 05 2001 Tony Clayton <tonyc@e-smith.com> |
927 |
|
|
- [1.3.0-12] |
928 |
|
|
- force mysql.init to print to stderr instead of stout |
929 |
|
|
|
930 |
|
|
* Fri Mar 23 2001 Tony Clayton <tonyc@e-smith.com> |
931 |
|
|
Wed Mar 23 2001 --> Wed Mar 21 2001 or Fri Mar 23 2001 or Wed Mar 28 2001 or .... |
932 |
|
|
- [1.3.0-11] |
933 |
|
|
- fixed uninitialized value error in conf-mysql-startup |
934 |
|
|
|
935 |
|
|
* Wed Mar 21 2001 Tony Clayton <tonyc@e-smith.com> |
936 |
|
|
- [1.3.0-10] |
937 |
|
|
- fixed error on empty glob in mysql.init |
938 |
|
|
|
939 |
|
|
* Wed Mar 21 2001 Tony Clayton <tonyc@e-smith.com> |
940 |
|
|
- [1.3.0-09] |
941 |
|
|
- fixed harmless errors thrown by mysql.init |
942 |
|
|
|
943 |
|
|
* Wed Mar 21 2001 Tony Clayton <tonyc@e-smith.com> |
944 |
|
|
- [1.3.0-08] |
945 |
|
|
- fixed tie bug in conf-mysql-startup script which prevented the mysqld service |
946 |
|
|
from being initialized properly. |
947 |
|
|
|
948 |
|
|
* Thu Mar 15 2001 Tony Clayton <tonyc@e-smith.com> |
949 |
|
|
- [1.3.0-07] |
950 |
|
|
- created mysql.init initscript |
951 |
|
|
- added serviceControl code for mysql.init in conf-mysql-startup |
952 |
|
|
|
953 |
|
|
* Sat Mar 10 2001 Tony Clayton <tonyc@e-smith.com> |
954 |
|
|
- [1.3.0-06] |
955 |
|
|
- fixed mysql call in /sbin/e-smith/mysql-preload |
956 |
|
|
|
957 |
|
|
* Sat Mar 10 2001 Tony Clayton <tonyc@e-smith.com> |
958 |
|
|
- [1.3.0-05] |
959 |
|
|
- fixed bugs in /sbin/e-smith/mysql-preload |
960 |
|
|
|
961 |
|
|
* Fri Mar 9 2001 Adrian Chung <adrianc@e-smith.com> |
962 |
|
|
- [1.3.0-04] |
963 |
|
|
- added /sbin/e-smith/mysql-preload |
964 |
|
|
|
965 |
|
|
* Sat Mar 3 2001 Charlie Brady <charlieb@e-smith.com> |
966 |
|
|
- [1.2.0-07] |
967 |
|
|
- add packetfilter template fragment to deny tcp/3306 |
968 |
|
|
Make packet filter fragment depend on the service db. Only block |
969 |
|
|
TCP SYN packets. |
970 |
|
|
- add Requires for e-smith-packetfilter. |
971 |
|
|
- Add required permissions parameter to mkdir calls. |
972 |
|
|
|
973 |
|
|
* Thu Mar 1 2001 Charlie Brady <charlieb@e-smith.com> |
974 |
|
|
- [1.3.0-03] |
975 |
|
|
- Make packet filter fragment depend on the service db. Only block |
976 |
|
|
TCP SYN packets. |
977 |
|
|
- Add required permissions parameter to mkdir calls. |
978 |
|
|
|
979 |
|
|
* Thu Mar 1 2001 Adrian Chung <adrianc@e-smith.com> |
980 |
|
|
- [1.3.0-02] |
981 |
|
|
- add packetfilter template fragment to deny tcp/3306 |
982 |
|
|
- add Requires for e-smith-packetfilter. |
983 |
|
|
|
984 |
|
|
* Thu Mar 1 2001 Adrian Chung <adrianc@e-smith.com> |
985 |
|
|
- [1.3.0-01] |
986 |
|
|
- Development stream, includes all patches up to and including |
987 |
|
|
1.2.0-05. |
988 |
|
|
- Ported Charlie's MySQL->mysql requires change to development |
989 |
|
|
stream. Was 1.2.0-06, but not built. |
990 |
|
|
|
991 |
|
|
* Fri Feb 16 2001 Adrian Chung <adrianc@e-smith.com> |
992 |
|
|
- [1.2.0-05] |
993 |
|
|
- changed -C option to useradd to a -c for comments. |
994 |
|
|
|
995 |
|
|
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
996 |
|
|
- Rolling release number for GPG signing. |
997 |
|
|
|
998 |
|
|
* Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com> |
999 |
|
|
- [1.2.0-03] |
1000 |
|
|
- changed conf-mysql-account to 08 instead of 05. |
1001 |
|
|
|
1002 |
|
|
* Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com> |
1003 |
|
|
- [1.2.0-02] |
1004 |
|
|
- remove rc0.d/rc6.d symlinks and replace with links to |
1005 |
|
|
e-smith-service instead. |
1006 |
|
|
|
1007 |
|
|
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
1008 |
|
|
- [1.2.0-01] |
1009 |
|
|
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-31. |
1010 |
|
|
|
1011 |
|
|
* Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com> |
1012 |
|
|
- [1.1.0-31] |
1013 |
|
|
- take expansion of logrotate.d/mysqld template out |
1014 |
|
|
of conf-mysqld |
1015 |
|
|
|
1016 |
|
|
* Wed Jan 24 2001 Adrian Chung <adrianc@e-smith.com> |
1017 |
|
|
- [1.1.0-30] |
1018 |
|
|
- leave logrotate.d/mysqld alone now, back out patch |
1019 |
|
|
- expanding /root/.my.cnf with the password alleviates |
1020 |
|
|
need to pass -p to mysqladmin |
1021 |
|
|
|
1022 |
|
|
* Wed Jan 24 2001 Adrian Chung <adrianc@e-smith.com> |
1023 |
|
|
- [1.1.0-29] |
1024 |
|
|
- expand logrotate.d/mysqld template |
1025 |
|
|
- add template directory for logrotate.d/mysqld |
1026 |
|
|
|
1027 |
|
|
* Wed Jan 24 2001 Charlie Brady <charlieb@e-smith.com> |
1028 |
|
|
- [1.1.0-28] |
1029 |
|
|
- Create new mysql-conf-account script - set up mysql account and add it |
1030 |
|
|
to the accounts db. Called from post-install and post-upgrade |
1031 |
|
|
|
1032 |
|
|
* Wed Jan 17 2001 Adrian Chung <adrianc@e-smith.com> |
1033 |
|
|
- [1.1.0-27] |
1034 |
|
|
- default mysql to enabled |
1035 |
|
|
|
1036 |
|
|
* Wed Jan 17 2001 Peter Samuel <peters@e-smith.com> |
1037 |
|
|
- [1.1.0-26] |
1038 |
|
|
- added mysql-delete-dumped-tables action to post-upgrade event |
1039 |
|
|
|
1040 |
|
|
* Wed Jan 17 2001 Peter Samuel <peters@e-smith.com> |
1041 |
|
|
- [1.1.0-25] |
1042 |
|
|
- mysql-dump-tables and mysql-import-tables actions do nothing if mysqld |
1043 |
|
|
is not running. |
1044 |
|
|
- mysql-dump-tables action does nothing if the dump directory does |
1045 |
|
|
not exist. |
1046 |
|
|
- mysql-import-tables action does nothing if there is no dump file from |
1047 |
|
|
which to import. |
1048 |
|
|
- created 2 new events - mysql-delete-dumps and mysql-dump-tables |
1049 |
|
|
- removed mysql-import-tables action from post-restore |
1050 |
|
|
- added mysql-import-tables action to post-upgrade |
1051 |
|
|
- created new action mysql-delete-dumped-tables |
1052 |
|
|
- added patch22 to list of patches to be applied - must have been |
1053 |
|
|
missed in 1.1.0-24. |
1054 |
|
|
|
1055 |
|
|
* Sat Jan 13 2001 Adrian Chung <adrianc@e-smith.com> |
1056 |
|
|
- [1.1.0-24] |
1057 |
|
|
- typo $action => restart |
1058 |
|
|
|
1059 |
|
|
* Sat Jan 13 2001 Adrian Chung <adrianc@e-smith.com> |
1060 |
|
|
- [1.1.0-23] |
1061 |
|
|
- mysql-{import,dump}-tables checks for enabled status of mysqld |
1062 |
|
|
before attempting to dump/import |
1063 |
|
|
|
1064 |
|
|
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
1065 |
|
|
- [1.1.0-22] |
1066 |
|
|
- changed "Couldn't $action mysqld" to "Couldn't restart mysqld". |
1067 |
|
|
|
1068 |
|
|
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
1069 |
|
|
- [1.1.0-21] |
1070 |
|
|
- $ in front of ENV{'PATH'} |
1071 |
|
|
|
1072 |
|
|
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
1073 |
|
|
- [1.1.0-20] |
1074 |
|
|
- add PATH setting to conf-mysql |
1075 |
|
|
|
1076 |
|
|
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
1077 |
|
|
- [1.1.0-19] |
1078 |
|
|
- get rid of --no-defaults |
1079 |
|
|
|
1080 |
|
|
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
1081 |
|
|
- [1.1.0-18] |
1082 |
|
|
- --force mysql_install_db |
1083 |
|
|
|
1084 |
|
|
* Fri Jan 12 2001 Tony Clayton <tonyc@e-smith.com> |
1085 |
|
|
- [1.1.0-17] |
1086 |
|
|
- converted to using serviceControl |
1087 |
|
|
|
1088 |
|
|
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
1089 |
|
|
- [1.1.0-16] |
1090 |
|
|
- conf-mysql needs to run even if the service isn't enabled |
1091 |
|
|
so that during runtime, it can be enabled, and just go. |
1092 |
|
|
|
1093 |
|
|
* Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com> |
1094 |
|
|
- [1.1.0-15] |
1095 |
|
|
- datadir check should be /var/lib/mysql/mysql. |
1096 |
|
|
|
1097 |
|
|
* Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com> |
1098 |
|
|
- [1.1.0-14] |
1099 |
|
|
- conf-mysql-password checks for MySQL datadir first |
1100 |
|
|
- mysql-{dump,import}-tables moved to |
1101 |
|
|
/etc/e-smith/events/actions |
1102 |
|
|
- mysql-import-tables added to post-restore action |
1103 |
|
|
|
1104 |
|
|
* Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com> |
1105 |
|
|
- [1.1.0-13] |
1106 |
|
|
- conf-mysql-password resets the root password, and |
1107 |
|
|
gets rid of two blank account entries |
1108 |
|
|
- /sbin/e-smith/mysql-dump-tables has been added |
1109 |
|
|
which dumps mysql.dump to /home/e-smith/db/mysql |
1110 |
|
|
- /sbin/e-smith/mysql-import-tables has been added |
1111 |
|
|
which imports a mysql.dump text file back into a |
1112 |
|
|
running system |
1113 |
|
|
|
1114 |
|
|
* Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com> |
1115 |
|
|
- [1.1.0-12] |
1116 |
|
|
- conf-mysql-password now runs in console-save as well. |
1117 |
|
|
- if the system is started up without mysqld enabled, |
1118 |
|
|
a password won't be set, since there are no mysql tables |
1119 |
|
|
initialized yet. |
1120 |
|
|
|
1121 |
|
|
* Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com> |
1122 |
|
|
- [1.1.0-11] |
1123 |
|
|
- conf-mysql-password runs without checking whether mysql |
1124 |
|
|
is enabled. It does not require mysqld to be started, and |
1125 |
|
|
should always at least keep the root password in sync, in |
1126 |
|
|
case mysqld is enabled, and started during a running system |
1127 |
|
|
session. |
1128 |
|
|
|
1129 |
|
|
* Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com> |
1130 |
|
|
- [1.1.0-10] |
1131 |
|
|
- add mysql-conf-startup to post-install/upgrade. |
1132 |
|
|
|
1133 |
|
|
* Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com> |
1134 |
|
|
- [1.1.0-9] |
1135 |
|
|
- make conf-mysql-password set the mysql password, instead of |
1136 |
|
|
setting up a once-run script. |
1137 |
|
|
|
1138 |
|
|
* Wed Jan 10 2001 Charlie Brady <charlieb@e-smith.com> |
1139 |
|
|
- [1.1.0-8] |
1140 |
|
|
- Create new mysql-conf-startup script - split from mysql-conf |
1141 |
|
|
- Create new bootstrap-console-save event and install mysql-conf into it |
1142 |
|
|
|
1143 |
|
|
* Mon Dec 18 2000 Adrian Chung <adrianc@e-smith.com> |
1144 |
|
|
- [1.1.0-7] |
1145 |
|
|
- added configuration database to db command.(typo). |
1146 |
|
|
|
1147 |
|
|
* Mon Dec 18 2000 Adrian Chung <adrianc@e-smith.com> |
1148 |
|
|
- [1.1.0-6] |
1149 |
|
|
- added UnsavedChanges wrapper around script so that it resets |
1150 |
|
|
UnsavedChanges flag appropriately. |
1151 |
|
|
|
1152 |
|
|
* Fri Dec 15 2000 Adrian Chung <adrianc@e-smith.com> |
1153 |
|
|
- Added chmod 0755 for mysqld-password init script. |
1154 |
|
|
- Moved /etc/etc/rc.d to /etc/rc.d |
1155 |
|
|
|
1156 |
|
|
* Fri Dec 15 2000 Adrian Chung <adrianc@e-smith.com> |
1157 |
|
|
- Added conf-mysql-password to post-install which sets |
1158 |
|
|
up mysqld-password in rc7.d to be run once to set the |
1159 |
|
|
password. The mysqld-password script removes it's link |
1160 |
|
|
from runlevel 7 and updates the configuration/services |
1161 |
|
|
database. |
1162 |
|
|
|
1163 |
|
|
* Fri Nov 24 2000 Adrian Chung <adrianc@e-smith.com> |
1164 |
|
|
- Changed mysql to mysqld. |
1165 |
|
|
|
1166 |
|
|
* Wed Nov 22 2000 Adrian Chung <adrianc@e-smith.com> |
1167 |
|
|
- Minor modifications to conf-mysql script to make it work |
1168 |
|
|
with the RH7.0 version of mysql. |
1169 |
|
|
|
1170 |
|
|
* Wed Nov 22 2000 Adrian Chung <adrianc@e-smith.com> |
1171 |
|
|
- Rolled to 1.1.0, for 4.1/7.0 stream. Changed mysql to mysqld. |
1172 |
|
|
|
1173 |
|
|
* Tue Nov 14 2000 Adrian Chung <adrianc@e-smith.com> |
1174 |
|
|
- initial release |
1175 |
|
|
|