Code Review
/
openstack-build
/
cinder-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
02885ab
)
Remove "cinder-manage db sync" from "cinder-common.postinst"
46/4146/1
author
Maksym Yatsenko
<myatsenko@mirantis.com>
Fri, 27 Feb 2015 15:32:46 +0000
(17:32 +0200)
committer
Maksym Yatsenko
<myatsenko@mirantis.com>
Fri, 27 Feb 2015 15:32:46 +0000
(17:32 +0200)
Closes-Bug:#
1422350
Change-Id: I0676bb441bf85f4df7ec44ce9e28cc4535f20569
debian/cinder-common.postinst
patch
|
blob
|
history
diff --git
a/debian/cinder-common.postinst
b/debian/cinder-common.postinst
index 8045dbffb5afd52d18908d4bfcddf3470f23fd55..0c89129eb6d47a5ad2df61cd25eda6a97d15dd4d 100644
(file)
--- a/
debian/cinder-common.postinst
+++ b/
debian/cinder-common.postinst
@@
-19,12
+19,6
@@
if [ "$1" = "configure" ]; then
chmod 0755 /etc/cinder/rootwrap.d
chown root:root /etc/cinder/rootwrap.conf
- if ! grep -qE "^(sql_)?connection.*" /etc/cinder/cinder.conf || \
- grep -qE "^(sql_)?connection.*sqlite.*" /etc/cinder/cinder.conf
- then
- su -s /bin/sh -c 'cinder-manage db sync' cinder
- fi
-
if [ -e /var/lib/cinder/cinder.sqlite ]; then
chown cinder:cinder /var/lib/cinder/cinder.sqlite
chmod 0600 /var/lib/cinder/cinder.sqlite