Ofer Schreiber has submitted this change and it was merged.

Change subject: packaging: Updated psql calls not to ask password
......................................................................


packaging: Updated psql calls not to ask password

Currently we use our own pgpass file to supply the required
password for the user. This patch adds a "-w" flag for all
psql calls that inhibits quering password at all. This will
lead to psql connection errors if pgpass was incorrectly
defined, but password will still not be asked, which is the
desired behavior of the setup.

Bug-Url: https://bugzilla.redhat.com/915409
Change-Id: Ib73a7e3a5955a66afa0eeeafa80cf1f6464e8fd4
Signed-off-by: Alex Lourie <[email protected]>
---
M backend/manager/dbscripts/dbfunctions.sh
M backend/manager/dbscripts/engine-db-install.sh
M backend/manager/dbscripts/restore.sh
M backend/manager/tools/dbutils/fkvalidator.sh
M backend/manager/tools/dbutils/taskcleaner.sh
M packaging/fedora/setup/common_utils.py
M packaging/fedora/setup/engine-upgrade.py
7 files changed, 27 insertions(+), 19 deletions(-)

Approvals:
  Ofer Schreiber: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/12418
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib73a7e3a5955a66afa0eeeafa80cf1f6464e8fd4
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to