]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Use /bin/sh as shell in postinst script explicitly
authorOndřej Nový <novy@ondrej.org>
Fri, 8 Apr 2016 14:12:38 +0000 (16:12 +0200)
committerOndřej Nový <novy@ondrej.org>
Fri, 8 Apr 2016 14:12:38 +0000 (16:12 +0200)
Rewritten-From: fa9ae274a6cf59467bdbe196d8254ac7c9bc9f14

xenial/debian/changelog
xenial/debian/heat-common.postinst.in

index 79fbdd04ab98dfcf4be6aeb8d4f6b129713ae076..34f9b85a26ed6384249295938fa6f3337b51d6eb 100644 (file)
@@ -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ý <novy@ondrej.org>  Fri, 08 Apr 2016 16:12:01 +0200
+
 heat (1:6.0.0-1) unstable; urgency=medium
 
   * New upstream release.
index dfc004187cb1f68ad328fed5b47222a802a2e9eb..9fa2232b6e1a753446cbed54e34134ebe14fba7f 100644 (file)
@@ -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