/[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.24 - (show annotations) (download)
Sat Apr 2 21:58:15 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql-2_7_0-12_el7_sme
Changes since 1.23: +6 -1 lines
* Sat Apr 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-12.sme
- remove SourcePath from mysql-init service file [SME: 11922]

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

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