Bug 49213

Summary: /etc/popt support broken
Product: [Retired] Red Hat Linux Reporter: Enrico Scholz <rh-bugzilla>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
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-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: --- Target Upstream Version:
Embargoed:

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.