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:
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'
no output at (6)
(6) gives out some directories
setup and filesystem are from roswell2
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 ***