Bug 40163
Summary: | /usr/lib/rpm/rpmrc: wrong location of per-system rpmrc | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ville Skyttä <scop> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-05-11 08:24:08 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: |
Description
Ville Skyttä
2001-05-10 23:07:09 UTC
Where is the false claim /etc/rpm/rpmrc? Yes, it *should* be /etc/rpm/rpmrc, but the original location was /etc/rpmrc. Isn't legacy wonderful? Whoops, forgot to put the location in the description, but as the summary says, the claim is in the beginning of /usr/lib/rpm/rpmrc. Fixed in rpm CVS, thanks for noticing. So I tested /etc/rpm/rpmrc to no avail. It looks like rpm-4.0.2-8 really only checks /etc/rpmrc but future versions will also check for /etc/rpm/rpmrc right? Anyways, FYI, here's where both are referenced: $ strings --print-file-name `rpm -ql rpm` 2>/dev/null |grep /etc/rpm/rpmrc /usr/lib/rpm/rpmrc: # should be added to /etc/rpm/rpmrc, while per-user configuration should $ strings --print-file-name `rpm -ql rpm` 2>/dev/null |grep /etc/rpmrc /bin/rpm: use <file> instead of /etc/rpmrc and $HOME/.rpmrc /bin/rpm: /usr/lib/rpm/rpmrc:/etc/rpmrc:~/.rpmrc /usr/lib/librpm.so.0: /usr/lib/rpm/rpmrc:/etc/rpmrc:~/.rpmrc /usr/lib/librpm.so.0.0.0: /usr/lib/rpm/rpmrc:/etc/rpmrc:~/.rpmrc /usr/lib/rpm/convertrpmrc.sh: # Convert per-system configuration in /etc/rpmrc to macros in /etc/rpm/macros. /usr/lib/rpm/convertrpmrc.sh: [ -z "$RPMRC" ] && RPMRC=/etc/rpmrc /usr/share/doc/rpm-4.0.2/CHANGES: - convert per-system configuration in /etc/rpmrc to macros. /usr/share/doc/rpm-4.0.2/CHANGES: /etc/rpmrc /usr/share/doc/rpm-4.0.2/CHANGES: - removed /etc/rpmrc from standard distribution /usr/share/doc/rpm-4.0.2/CHANGES: - added arch_compat handling in /etc/rpmrc /usr/share/doc/rpm-4.0.2/CHANGES: - added build_arch to /etc/rpmrc /usr/share/doc/rpm-4.0.2/macros: In /etc/rpmrc and/or ~/.rpmrc you put The comment only was changed, rpm, as always, reads from /etc/rpmrc. 'Twould be more logical to read from /etc/rpm/rpmrc, can't be helped. |