Bug 52729 - '--justdb' operations ignore %_netsharedpath
Summary: '--justdb' operations ignore %_netsharedpath
Status: CLOSED DUPLICATE of bug 52725
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 1.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-08-28 14:39 UTC by Enrico Scholz
Modified: 2007-04-18 16:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-28 14:39:43 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Enrico Scholz 2001-08-28 14:39:39 UTC
Description of Problem:

When upgrading with the '--justdb' flag the %_netsharedpath is ignored.

BTW: does there exists a reason why the example works as root only? When
executing as normal user, no error-messages appear but 'RPM -qa' gives no

Version-Release number of selected component (if applicable):


Steps to Reproduce:
1. p=/var/tmp/rpm-netshared-test
2. alias RPM="rpm --root $p --eval %define\ _netsharedpath\ /usr/share/man"
3. mkdir -p $p/var/lib/rpm
4. RPM --initdb
5. RPM -U setup-2.5.4-1.noarch.rpm filesystem-2.1.5-2.noarch.rpm --justdb
6. RPM -qas | grep 'net shared'

Actual Results:

no output at (6)

Expected Results:

(6) gives out some directories

Additional Information:

setup and filesystem are from roswell2

Comment 1 Jeff Johnson 2001-08-28 14:51:12 UTC
With --root option, root is required because chroot(2) is root only (#49899).

With --justdb option, certain pathways involved in calculating file
disposition and state are skipped. Otherwise this is just a variant
duplicate of #52725.

*** This bug has been marked as a duplicate of 52725 ***

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