Bug 89639
| Summary: | Conflicting --define and --rcfile cmdline evaluation | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Enrico Scholz <rh-bugzilla> |
| Component: | rpm | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED WONTFIX | QA Contact: | Mike McLean <mikem> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-04-25 13:35:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Yup, adding --define triggers rcfile reading, --rcfile not yet processed, when processed it's too late to matter. Put --rcfile first. |
Description of problem: The '--rcfile' cmdline option is ignored when there is a previous '--define'. Version-Release number of selected component (if applicable): rpm-4.2-0.69 How reproducible: 100% Steps to Reproduce: 0. rm -f a 1. rpm --define='foo bar' --rcfile=a 2. rpm --rcfile=a --define='foo bar' Actual results: no message at 1. 'error: Unable to open a for reading: No such file or directory.' at 2. Expected results: errormessages at 1 also