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

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