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

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