Bug 1002 - rpm-2.91 ignores /etc/rpmrc
rpm-2.91 ignores /etc/rpmrc
Status: CLOSED WORKSFORME
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-01-31 10:08 EST by pdyer
Modified: 2014-03-19 07:09 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-02-02 10:10:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description pdyer 1999-01-31 10:08:18 EST
I have topsrcdir set to /usr/src/redhat/rawhide
in /etc/rpmrc.  The new rpm does not seem to read
the /etc/rpmrc file.
Comment 1 Cristian Gafton 1999-02-01 14:23:59 EST
Jeff, all yours
Comment 2 Jeff Johnson 1999-02-02 10:10:59 EST
Rpm 2.91 is b'twixt and b'tween two configuration schemes. The
current algorithm reads the usual rpmrc files:
	/usr/lib/rpm/rpmrc
	/etc/rpmrc
	~/.rpmrc
and then reads the new macro file
	/usr/lib/rpm/macros
which hides the /etc/rpmrc configured value.

Here's a workaround:
In /etc/rpmrc:
	macrofiles:	/usr/lib/rpm/macros:/etc/macros
In /etc/macros:
	%_topdir	/usr/src/redhat/rawhide

Alternatively, delete the %_topdir line in /usr/lib/rpm/macros.

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