[svlug] RHL 5.2

Rick Moen rick at hugin.imat.com
Sat Nov 14 14:15:10 PST 1998


Quoting Jonathan Sergent (sergent at kgb.etla.net):

> /home/httpd/html is not configuration files.  Not for /etc then.

That's a question of interpretation.  See below.

> It's not FHS-like to put it under var, see:
> 
>    /var contains variable data files. This includes spool directories and
>    files, administrative and logging data, and transient and temporary
>    files.
> 
> ...
> 
>    /var is specified here in order to make it possible to mount /usr
>    read-only. Everything that once went into /usr that is written to
>    during system operation (as opposed to installation and software
>    maintenance) must be in /var.

I'm sorry, but I do not see that this supports your assertion in any
way.  In fact, that sounds precisely like a description of the 
correct place for the system HTML tree: "variable data files".

Which was my point.
 
> Anyhow, FHS totally (and purposefully) punts on the issue of where
> to put things like web pages.

As a specific item to be enumerated, yes.  It is by design not that
specific, but rather attempts to lay down the logic of file tree design
according to general principles like shareable vs. non-sharable,
static vs. dynamic, etc.

On a system with a single admin and basically unchanging Web contents,
it would seem defensible to classify system HTML files, on exactly
those grounds, as system configuration.  This was my initial view,
which I have now decided was in error for most systems, where the
system HTML tree is more like a collection of, as mentioned, variable 
data files, and therefore belongs under /var.

/home, by contrast, is clearly inappropriate.  One of many Redhat-isms.

> I wish I could find an archive of the fhs-discuss list to quote.  
> But the guidelines for /etc and /var seem to clearly rule them out.

Not correct.

> The placement of the web server root under /home/httpd is defensible 
> in several ways, which I don't want to enumerate.

You are defending a hand wave with an additional hand wave.  The
structure is patently absurd (along with /home/ftp, /home/samba, etc.).

> /usr/local would be okay too, but Red Hat can't put stuff there.
> Red Hat and you jointly have free rein over /home.

Well, no fooling.  Gosh, man.  I could _never_ have figured that out.

> As for /var/lib/rpm vs. /var/state/rpm, /var/state is essentially a 
> renaming of /var/lib from the previous standard.

Oh, in other words you're saying it's not FHS compliant.  I see.

-- 
Cheers,                Linux:  It is now safe to turn on your computer.
Rick Moen
rick (at) hugin.imat.com

--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe



More information about the svlug mailing list