/[smeserver]/rpms/smeserver-mysql/sme10/smeserver-mysql.spec
ViewVC logotype

Annotation of /rpms/smeserver-mysql/sme10/smeserver-mysql.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.19 - (hide annotations) (download)
Mon Mar 14 15:12:24 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql-2_7_0-7_el7_sme
Changes since 1.18: +8 -1 lines
* Mon Mar 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-7.sme
- adding requirement for mariadb-server-utils (105 and 103) [SME: 11899]

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

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