Bug 1502592
| Summary: | generate-pgpass.sh sources engine-prolog.sh | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Yedidyah Bar David <didi> |
| Component: | Setup.Engine | Assignee: | Yedidyah Bar David <didi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Belka <jbelka> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2.0 | CC: | bugs, lsvaty, mperina, mvoglova, tnisan |
| Target Milestone: | ovirt-4.1.7 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: blocker+ |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-13 12:27:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1503196 | ||
|
Description
Yedidyah Bar David
2017-10-16 09:54:22 UTC
The patch referenced in comment 0 also renames the 'cleanup' function, intending to prevent future collisions with such functions in scripts using it. Not sure this is enough, because 'trap' will only run the last argument. Still thinking whether all of this is the right approach, not sure. (In reply to Yedidyah Bar David from comment #1) > The patch referenced in comment 0 also renames the 'cleanup' function, > intending to prevent future collisions with such functions in scripts using > it. Not sure this is enough, because 'trap' will only run the last argument. > Still thinking whether all of this is the right approach, not sure. There is also comment in the generate-pgpass.sh that if some script is including generate-pgpass.sh and reusing trap, they should include calling of pgPassCleanup into their own trap function. AFAIK you cannot register multiple function within the trap call, so do you think there is some better way how to handle that? ok, ovirt-engine-tools-4.1.7.4-0.1.el7.noarch - clean install successful - upgrade with vacuum successful |