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

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