/[smeserver]/rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0.bz11453-sme9restoreerror.patch
ViewVC logotype

Annotation of /rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0.bz11453-sme9restoreerror.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Mar 13 14:35:58 2021 UTC (3 years, 3 months ago) by terryfage
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-21_el7_sme, e-smith-mysql-2_6_0-22_el7_sme, e-smith-mysql-2_6_0-20_el7_sme, HEAD
* Sat Mar 14 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-20.sme
- fix restore of sme9 backup fails to start mysql.init [SME: 11453]

1 terryfage 1.1 diff -urN e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs
2     --- e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs 2021-03-13 08:59:01.539834698 -0500
3     +++ e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs 2021-03-13 09:00:22.000000000 -0500
4     @@ -3,9 +3,8 @@
5     ( cat /home/e-smith/db/mysql/mysql.dump ;
6     cat /service/mariadb/set.password ) | mysql || exit 1
7     /usr/bin/mysql_upgrade
8     -P=$(cat /var/run/mariadb/mariadb.pid)
9     /bin/rm /var/run/mariadb/mariadb.pid
10     -kill -TERM $P
11     +/usr/bin/systemctl restart mariadb.service
12     for i in $(seq 1 20);
13     do
14     if [ -f /var/run/mariadb/mariadb.pid ]

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