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

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