/[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.27 - (show annotations) (download)
Sun Apr 10 21:50:57 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql-2_7_0-14_el7_sme
Changes since 1.26: +6 -2 lines
* Sun Apr 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-14.sme
- /usr/libexec/mysql-wait-stop not used after mariadb101 [SME: 11936]

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

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