/[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.33 - (show annotations) (download)
Fri Nov 24 04:12:56 2023 UTC (12 months, 1 week ago) by jpp
Branch: MAIN
Changes since 1.32: +8 -2 lines
* Thu Nov 23 2023 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-18.sme
- fix OpenFilesLimit too low preventing backup [SME: 12417]
- deleting extra folder in /home/e-smith/db/mysql/ for mariadb10*

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

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