/[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.35 - (show annotations) (download)
Sun Sep 1 04:21:50 2024 UTC (3 weeks, 4 days ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql-2_7_0-19_el7_sme
Changes since 1.34: +9 -2 lines
* Sun Sep 01 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.7.0-19.sme
- backup user privileges in separate file [SME: 12145]
  this will allow mariadb 10.3 and higher migration
  and is needed to restore to SME 11

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

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