Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 89639 - Conflicting --define and --rcfile cmdline evaluation
Conflicting --define and --rcfile cmdline evaluation
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-04-25 09:30 EDT by Enrico Scholz
Modified: 2007-04-18 12:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-25 09:35:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2003-04-25 09:30:34 EDT
Description of problem:

The '--rcfile' cmdline option is ignored when there is a previous '--define'.

Version-Release number of selected component (if applicable):


How reproducible:


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
Comment 1 Jeff Johnson 2003-04-25 09:35:18 EDT
Yup, adding --define triggers rcfile reading, --rcfile
not yet processed, when processed it's too late to matter.

Put --rcfile first.

Note You need to log in before you can comment on or make changes to this bug.