diff options
author | Evgeni Golov <evgeni@golov.de> | 2021-02-25 09:30:27 +0100 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-02-25 10:42:24 -0500 |
commit | abf492d65318d8aab2a544507b6301977cfbb037 (patch) | |
tree | f055bc0b5440b71aee32c84a41e31e1c9fd5630c /sos.spec | |
parent | 87e1c3f746a8306cb2dec8f5fbc7ddae8eb76b03 (diff) | |
download | sos-abf492d65318d8aab2a544507b6301977cfbb037.tar.gz |
[candlepin] call psql with --no-password to avoid waiting on input
The candlepin plugin tries to read the PostgreSQL password from
/etc/candelpin/candlepin.conf, but will fallback to an empty string if one
isn't found.
This in turn causes psql to hang indefinitely (or at least until we hit
the plugin timeout).
Add `--no-password` to the psql command to not prompt for a password if
one isn't provided via another source.
Related: #2421
Resolves: #2422
Signed-off-by: Evgeni Golov <evgeni@golov.de>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'sos.spec')
0 files changed, 0 insertions, 0 deletions