Change in ovirt-engine[master]: packaging: Updated psql calls not to ask password

oschreib at redhat.com oschreib at redhat.com
Sun Mar 3 08:55:50 UTC 2013


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 <alourie at redhat.com>
---
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 <alourie at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>



More information about the Engine-commits mailing list