]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fixed the value of the state_path directive to /var/lib/cinder instead of somewhere...
authorThomas Goirand <thomas@goirand.fr>
Thu, 17 Oct 2013 08:44:52 +0000 (16:44 +0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 17 Oct 2013 08:44:52 +0000 (16:44 +0800)
debian/changelog
debian/rules

index 1ff87206c747107fefc56122d5f44b44fb49d35c..96e82122c93e49e078d305039a5c7467c84e2770 100644 (file)
@@ -1,6 +1,8 @@
 cinder (2013.2~rc3-2) UNRELEASED; urgency=low
 
   * Fixed the path to the log files in the init scripts.
+  * Fixed the value of the state_path directive to /var/lib/cinder instead of
+    somewhere in /usr/lib/python2.x.
 
  -- Thomas Goirand <zigo@debian.org>  Thu, 17 Oct 2013 01:02:21 +0800
 
index 6a06e59e3724e39d6826eddde22d180063397bd9..695b33b93244289b0175cbab24f8c565c14adbdf 100755 (executable)
@@ -26,6 +26,7 @@ override_dh_install:
        echo "# Connection to db:" >>$(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
        echo "sql_connection = sqlite:////var/lib/cinder/cinderdb" >>$(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
        sed -i "s/#auth_strategy=noauth/auth_strategy=keystone/" $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
+       sed -i 's|#state_path=$pybasedir|state_path=/var/lib/cinder|' $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
 
 override_dh_fixperms:
        dh_fixperms -Xcinder_tgt.conf