Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 19666

Summary: rpm -U crashed with --excludepath
Product: [Retired] Red Hat Linux Reporter: Alexander Kourakos <awk>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0   
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-01-08 16:04:49 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 Alexander Kourakos 2000-10-24 03:28:01 UTC
On my RH7 system I had removed /var/www/cgi-bin and 
/var/www/html that came with apache. So when installing the new 
apache package, I thought to try the following command:

    rpm -Fvh --excludepath /var/www/cgi-bin \
        --excludepath /var/www/html \
        apache-1.3.14-3.i386.rpm apache-devel-1.3.14-3.i386.rpm

However RPM crashed and coredumped (not a comforting thing in 
the middle of an upgrade). Same behavior with the -U flag. I added a 
few v's and it died after:

    D: getting list of mounted filesystems

So it hadn't actually changed anything yet it seems.
Without the --excludepath it worked fine.

Comment 1 Jeff Johnson 2001-01-08 15:26:11 UTC
Yup. --excludepath is broke. Fix shortly.

Comment 2 Jeff Johnson 2001-01-08 15:42:06 UTC
*** Bug 17489 has been marked as a duplicate of this bug. ***

Comment 3 Jeff Johnson 2001-01-08 15:43:19 UTC
*** Bug 17488 has been marked as a duplicate of this bug. ***

Comment 4 Jeff Johnson 2001-01-08 16:04:46 UTC
*** Bug 11979 has been marked as a duplicate of this bug. ***

Comment 5 Jeff Johnson 2001-01-09 14:53:21 UTC
Boy, this one's been there since rpm-3.0.4. Fixed in rpm-4.0.2-0.19 and
rpm-4.0.1-0.41.