From: Ondřej Nový Date: Fri, 8 Apr 2016 14:12:38 +0000 (+0200) Subject: Use /bin/sh as shell in postinst script explicitly X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d0cebefe2736279f456ef78f0a88526c52430143;p=openstack-build%2Fheat-build.git Use /bin/sh as shell in postinst script explicitly Rewritten-From: fa9ae274a6cf59467bdbe196d8254ac7c9bc9f14 --- diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 79fbdd04..34f9b85a 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,3 +1,9 @@ +heat (1:6.0.0-2) UNRELEASED; urgency=medium + + * Use /bin/sh as shell in postinst script explicitly + + -- Ondřej Nový Fri, 08 Apr 2016 16:12:01 +0200 + heat (1:6.0.0-1) unstable; urgency=medium * New upstream release. diff --git a/xenial/debian/heat-common.postinst.in b/xenial/debian/heat-common.postinst.in index dfc00418..9fa2232b 100644 --- a/xenial/debian/heat-common.postinst.in +++ b/xenial/debian/heat-common.postinst.in @@ -29,7 +29,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then # This is the equivalent of db-sync: db_get heat/configure_db if [ "$RET" = "true" ] ; then - su heat -c "heat-manage db_sync" + su heat -s /bin/sh -c "heat-manage db_sync" fi chown -R heat:adm /var/log/heat