Bug 49213 - /etc/popt support broken
Summary: /etc/popt support broken
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 7.3
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-17 00:28 UTC by Enrico Scholz
Modified: 2007-04-18 16:34 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-17 00:28:30 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Enrico Scholz 2001-07-17 00:28:26 UTC
Description of Problem:

Cmdline-aliases defined in /etc/popt are not working anymore (with 4.0.2 it
was ok).


How Reproducible:

everytime


Steps to Reproduce:
1. echo 'rpm     alias -C --changelog' >/etc/popt
2. rpm -q -C rpm


Actual Results:

-C: unknown option


Expected Results:

a changelog


Additional Information:
	
tested with 4.0.3-0.66 and -0.69

Comment 1 Jeff Johnson 2001-07-17 00:41:47 UTC
No /etc/popt is still working, but you need to either
	1) execute rpmquery directly
	2) write a helper binary exec as in
		rpm exec -C rpmq --changelog
as /usr/lib/rpm/rpmq is what's executed with, say, "rpm -q --changelog".



Comment 2 Jeff Johnson 2001-07-17 00:54:07 UTC
BTW, this was checked with rpm-4.0.3-0.72.

Comment 3 Jeff Johnson 2001-07-17 01:20:55 UTC
Woops, found the problem. Fix in rpm-4.0.3-0.72, apologies for the misinfo.


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