Alex Lourie has uploaded a new change for review. Change subject: packaging: setup: updated 'su' utility location ......................................................................
packaging: setup: updated 'su' utility location Change-Id: I51615f333267a3e5a324e5e9b32ac357eb0bfc66 Bug-Url: https://bugzilla.redhat.com/988298 Signed-off-by: Alex Lourie <[email protected]> --- M packaging/common_utils.py 1 file changed, 3 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/01/17301/1 diff --git a/packaging/common_utils.py b/packaging/common_utils.py index e3350db..6169ae8 100755 --- a/packaging/common_utils.py +++ b/packaging/common_utils.py @@ -32,6 +32,7 @@ # CONST EXEC_IP = "/sbin/ip" EXEC_PSQL = '/usr/bin/psql' +EXEC_SU = '/bin/su' EXEC_PGDUMP = '/usr/bin/pg_dump' FILE_PG_PASS="/etc/ovirt-engine/.pgpass" EXEC_SERVICE="/sbin/service" @@ -968,7 +969,7 @@ ), ] cmd = [ - '/usr/bin/su', + EXEC_SU, '-l', 'postgres', '-c', @@ -1000,7 +1001,7 @@ sql_query, ] cmd = [ - '/usr/bin/su', + EXEC_SU, '-l', 'postgres', '-c', -- To view, visit http://gerrit.ovirt.org/17301 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I51615f333267a3e5a324e5e9b32ac357eb0bfc66 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-dwh Gerrit-Branch: master Gerrit-Owner: Alex Lourie <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
