Bug 5010

Summary: /home/samba is a bad location in home automount environments
Product: [Retired] Red Hat Linux Reporter: George Karabin <gkarabin>
Component: sambaAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: gkarabin
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-09-09 13:09:57 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 George Karabin 1999-09-09 05:08:42 UTC
I recently started switching my companies Linux boxes to use
the company's home directory server. Home directories are
automounted via a map file exported by the NIS server.

The thing is, /home is an automounted directory (via NFS).
It seems to be a bad thing to install to /home/samba, since
you cannot have unique /home/samba directories for all of
the NIS clients on the network. While NIS home directories
could just as easily be automounted somewhere else, like
/nishome, most other unixes only install "real" user
directories to /home.

The net result is, I think Red Hat should make the
/home/samba directory elsewhere, along with any other such
directories (see my bug filed against apache).

Comment 1 Jeff Johnson 1999-09-09 13:01:59 UTC
*** Bug 5011 has been marked as a duplicate of this bug. ***

I recently started switching my companies Linux boxes to use
the company's home directory server. Home directories are
automounted via a map file exported by the NIS server.

The thing is, /home is an automounted directory (via NFS).
It seems to be a bad thing to install to /home/httpd, since
you cannot have unique /home/httpd directories for all of
the NIS clients on the network. While NIS home directories
could just as easily be automounted somewhere else, like
/nishome, most other unixes only install "real" user
directories to /home.

The net result is, I think Red Hat should make the
/home/httpd directory elsewhere, along with any other such
directories (see my bug filed against samba).

Comment 2 Jeff Johnson 1999-09-09 13:09:59 UTC
There's now way to change the location of these directories without
(possibly) finding them on an NFS share again.

You have two choices:

1) Add
	%_netsharedpath	/home
to /etc/rpm/macros (the value is a colon seperated path) and reinstall
the packages. No files will be installed in /home -- it's up
to you to populate those locations.

2) Change your mounting scheme to permit /home to reside on local
storage and mount existing NFS shares is something like
	/home/server_name_here