Bug 26561 - directories installed although contained in %_netsharedpath
directories installed although contained in %_netsharedpath
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-02-07 17:43 EST by Enrico Scholz
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-07 17:43:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2001-02-07 17:43:42 EST
When having e.g. /usr/share as %_netsharedpath, packages owning this
directory will try to create this directory.

That is caused by skipFiles() in lib/transactions.c whcih compares only
`fi->dnl' with the entries of %_netsharedpath.

But because `fi->dnl' equals to "/usr" for the directory '/usr/share' (the
`share' is in fi->bnl), the %_netsharedpath entry won't be hit and
`/usr/share' be installed.
Comment 1 Jeff Johnson 2001-04-03 16:51:00 EDT
Fixed in rpm CVS, will be in rpm-4.0.3-0.4 and later.

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