/[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.1 - (hide annotations) (download)
Sun Mar 13 02:38:23 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql-2_7_0-1_el7_sme
Initial import

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

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