/[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.18 - (show annotations) (download)
Mon Mar 14 06:51:53 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql-2_7_0-6_el7_sme
Changes since 1.17: +1 -1 lines
* Mon Mar 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-6.sme
- fix password for mariadb 105 [SME: 11899]

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

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