Bug 31195 - rpm should inform user that /etc/rpmrc and ~/.rpmrc is obsolete
Summary: rpm should inform user that /etc/rpmrc and ~/.rpmrc is obsolete
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-03-09 18:05 UTC by Vidar Langseid
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-03-09 18:10:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Vidar Langseid 2001-03-09 18:05:51 UTC
Hi

I tried to owerride topdir using /etc/rpmrc and ~/.rpmrc:
topdir: /mytopdir

I did also try do use tags like vendor and packager
This resulted in error messages like:
  bad option 'topdir' at /etc/rpmrc:1
  bad option 'vendor' at /etc/rpmrc:2
  bad option 'packager' at /etc/rpmrc:3

Then I instead tried to create ~/.rpmmacros :
%_topdir    /mytopdir
%vendor    foo
%packager  bar

This worked !!!!!

I think that rpm should have given me a better errormessage when I tried to
use a rpmrc file, especially when resouces like MaximumRPM states :"The
vendor entry is a great example of a good candidate for inclusion in
/etc/rpmrc"

Comment 1 Vidar Langseid 2001-03-09 18:10:32 UTC
This bug also applies to RedHat 7.0

Comment 2 Jeff Johnson 2001-03-10 03:16:55 UTC
Yes "Maximum RPM" is out of date, not much can be done.

There's an error message already with legacy syntax, what needs doing more is to
remove rpmrc configuration entirely, that will happen eventually.


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