Description of problem: Do not collect .pgpass files from engine. Version-Release number of selected component (if applicable): rhevm-log-collector-3.2.2-4.el6ev.noarch How reproducible: Always. Steps to Reproduce: 1. Collect a full RHEV-M log collector. 2. /etc/ovirt-engine/.pgpass file collected with plain text passwords for postgresql users still inside. 3. Actual results: /etc/ovirt-engine/.pgpass collected. Expected results: /etc/ovirt-engine/.pgpass not collected or passwords removed. Additional info:
While upgrading from 3.2.z to 3.3.z the legacy .pgpass file is emptied. It's content is now stored in other files. So for 3.3.z we can just not archive that file and filter password for the new configuration files. Lee do we need this back ported also to 3.2.z?
(In reply to Sandro Bonazzola from comment #2) > Lee do we need this back ported also to 3.2.z? No, 3.3 only is fine.
Merged on upstream master, pushed to 3.4 branch.
merged on upstream 3.4 branch.
Verified in ovirt-log-collector-3.4.0-0.5.beta3.el6.noarch. [root@pb-rh34 pb-rh34-2014022414261393248410]# grep PASS etc/ovirt-engine/engine.conf.d/10-setup-database.conf ENGINE_DB_PASSWORD=********
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0668.html