Bug 4373

Summary: rpm fails if /home is managed by autofs
Product: [Retired] Red Hat Linux Reporter: Steven Pritchard <steve>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-06 17:17:00 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 Steven Pritchard 1999-08-05 16:00:10 UTC
On a system where /home is in an automount map, rpm won't
upgrade a package with autofs running.  It fails with a "foo
needs (some number)k of space on /home".

This is very reproducable with both the version of rpm that
is included with Red Hat 6, and the latest update rpm as of
yesterday (8/4/99).

Comment 1 Jeff Johnson 1999-08-06 17:17:59 UTC
Rpm has a concept of net shared path so that a file is installed only
on the server, not the clients. You can configure netshared paths
by adding (usuallly to /etc/rpm/macros) a line like
	%_netsharedpath	/home:/somewhereelse:/this/is/file
and reinstalling (ising --force if necessary) the package on the
client so that the files in /home will not be installed.

Otherwise, if you want to manage files with rpm that are installed
on an NFS mount, you will need root access to that mount point.
Is it lack of root access that is the problem? Please reopen this bug
if there is some other problem.