[openstack-glance/el6] openstack-glance-db-setup: correctly start mysqld

Pádraig Brady pbrady at fedoraproject.org
Tue Apr 10 16:53:25 UTC 2012


commit 0332845e2b904b380a88e02350ad04282b1ce9c3
Author: Derek Higgins <dhiggins at redhat.com>
Date:   Tue Apr 10 17:46:50 2012 +0100

    openstack-glance-db-setup: correctly start mysqld
    
    s/mysql/mysqld/

 openstack-glance-db-setup |    2 +-
 openstack-glance.spec     |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/openstack-glance-db-setup b/openstack-glance-db-setup
index 95a2a83..50f277f 100755
--- a/openstack-glance-db-setup
+++ b/openstack-glance-db-setup
@@ -164,7 +164,7 @@ if ! service_running mysqld; then
 		esac
 	fi
 
-	start_service 'mysql'
+	start_service 'mysqld'
 
 	# If we both installed and started, ensure it starts at boot
 	[ $NEW_MYSQL_INSTALL -eq 1 ] && chkconfig mysqld on
diff --git a/openstack-glance.spec b/openstack-glance.spec
index 65efeb5..9c10f4c 100644
--- a/openstack-glance.spec
+++ b/openstack-glance.spec
@@ -1,6 +1,6 @@
 Name:             openstack-glance
 Version:          2012.1
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          OpenStack Image Service
 
 Group:            Applications/System
@@ -221,6 +221,9 @@ fi
 %doc doc/build/html
 
 %changelog
+* Tue Apr 10 2012 Pádraig Brady <P at draigBrady.com> - 2012.1-3
+- Fix db setup script to correctly start mysqld
+
 * Tue Apr 10 2012 Pádraig Brady <P at draigBrady.com> - 2012.1-2
 - Fix startup failure due to a file ownership issue (#811130)
 


More information about the scm-commits mailing list