/[smeserver]/rpms/smeserver-mysql/sme10/smeserver-mysql.spec
ViewVC logotype

Contents of /rpms/smeserver-mysql/sme10/smeserver-mysql.spec

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


Revision 1.13 - (show annotations) (download)
Mon Mar 14 05:05:59 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
Changes since 1.12: +1 -1 lines
* Sun Mar 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-5.sme
- fix typo in socket, seen with phpmyadmin [SME: 11899]
- fix permissions for mariadb105 [SME: 11899]
  create a dedicated set.password for mariadb>103

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

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