From 8624569541107c4648a886e6daf88aedd4aea97f Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 17 Oct 2013 16:44:52 +0800 Subject: [PATCH] Fixed the value of the state_path directive to /var/lib/cinder instead of somewhere in /usr/lib/python2.x. --- debian/changelog | 2 ++ debian/rules | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 1ff87206c..96e82122c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 17 Oct 2013 01:02:21 +0800 diff --git a/debian/rules b/debian/rules index 6a06e59e3..695b33b93 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 2.45.2