[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /skole/ (was Re: Login possible only with root)



Holger Levsen wrote:
Hi,

On Saturday 01 September 2007 16:48, Petter Reinholdtsen wrote:
I've added this to the documentation now and by doing so realized
that this path doesn't conform with the FHS (File Hierarchy
Standard), which is part of debian policy...
Where do you take it that FHS claim that directory should be created?

You misunderstood me: I claim^wreport that FHS prohibits that directory.

Hmmm. Now that I wanted to link to the relevant text, I cannot find it as deterined as I thought. But http://www.pathname.com/fhs/pub/fhs-2.3.html#THEROOTFILESYSTEM says :
has this:

Applications must never create or require special files or subdirectories in the root directory. Other locations in the FHS hierarchy provide more than enough flexibility for any package.

Distributions should not create new directories in the root hierarchy without extremely careful consideration of the consequences including for application portability.



So it's a should, not a must :-)

Be aware that the home directories need to be three levels down to
avoid NFS hang on / if a NFS server is unresponsive.  Neither /home/,
nor /foo/home/ will work.  It need to be /foo/bar/home/ to avoid the
error situation I want to avoid by selecting /home/tjener/home0/ as
the mounting location.  Also, I went for the /foo/hostname/directory/
structure to make sure the NFS exported directories can have unique
paths across all hosts, allowing for cross-mounting.

Wow. Nice.

How about using /srv/skole/home and /srv/skole/backup ? (for lenny...)


regards,
	Holger
I realy like keeping the hostname part in the path, makes it easier when you want to mount your backup server, your RIS server. your NX server and everythign you might have. and have it all in the same place.

Ronny Aasen




Reply to: