/[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.25 - (hide annotations) (download)
Sat Apr 9 18:15:45 2022 UTC (2 years, 6 months ago) by jpp
Branch: MAIN
Changes since 1.24: +7 -2 lines
* Sat Apr 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-13.sme
- fix few typos [SME: 11936]

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

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