From: Thomas Goirand Date: Thu, 17 Oct 2013 08:44:52 +0000 (+0800) Subject: Fixed the value of the state_path directive to /var/lib/cinder instead of somewhere... X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=82ab5e52dd78d99ada21a866b791e760a9a38dfe;p=openstack-build%2Fcinder-build.git Fixed the value of the state_path directive to /var/lib/cinder instead of somewhere in /usr/lib/python2.x. Rewritten-From: 8624569541107c4648a886e6daf88aedd4aea97f --- diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 1ff87206c..96e82122c 100644 --- a/xenial/debian/changelog +++ b/xenial/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/xenial/debian/rules b/xenial/debian/rules index 6a06e59e3..695b33b93 100755 --- a/xenial/debian/rules +++ b/xenial/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