Bug 8709 - rpm segfaults with --excludedir
rpm segfaults with --excludedir
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.1
sparc Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-01-21 09:25 EST by Thomas Moschny
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-22 06:55:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Thomas Moschny 2000-01-21 09:25:10 EST
We got segmentation faults while trying to install some rpms this way:

 rpm -Uvh --excludedir /usr kdetoys-1.1.2-2.sparc.rpm

while /usr being mounted read-only.
This behaviour is similar for all rpms where /usr is relocatable.

The quick and dirty workaround is to use the following command:

 rpm -Uvh --relocate /usr=/tmp --excludedir /usr kdetoys-1.1.2-2.sparc.rpm

which does exactly what we want: Omit all files of the /usr tree while
installing an rpm-package.
Comment 1 Elliot Lee 2000-02-03 15:35:59 EST
Confirmed with latest rpm in rawhide:
[root@ostrich-deluxe 6.2]# rpm -Uvh --excludepath /usr
alpha/kdetoys-1.1.2-3.alpha.rpm --nodeps
Segmentation fault
Comment 2 Jeff Johnson 2000-02-22 06:55:59 EST
Fixed in cvs, will be in rpm-3.0.4-0.43. Thanks for noticing.

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