Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 1999 17:28:35 -0800 (PST)
From:      Roger Marquis <marquis@roble.com>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: PATCH for Apache: Add FreeBSD Server Layout
Message-ID:  <Pine.SUN.3.96.990114165407.1708A-100000@roble3.roble.com>
In-Reply-To: <Pine.HPP.3.96.990114120001.7068B-100000@hp9000.chc-chimes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
bill fumerola - billf@chc-chimes.com - wrote:
> Storing all your configuration files in one directory is not simple?

Take apache as an example:

  %ls /usr/local/apache/etc
  access.conf             magic                   passwd.admin
  access.conf.default     magic.default           srm.conf
  httpd.conf              mime.types              srm.conf.default
  httpd.conf.default      mime.types.default

Now if you had 10 applications with as many configuration files you'd
have *110* different configuration files under /usr/local/etc.  How
exactly would you know which files were associated with which
applications?  Certainly not using `ls`.

> Storing all your executables in one directory is not simple?

You'd have the same problem as above.  No apache executables ever need
be in a path.  Why add more cruft to /usr/local/bin than other (poorly
patched) ports already do?

> Storing all your libraries in one directory is not simple?

This presents the biggest problem of all.  What if your application
library names clash with another library, or you have multiple
versions, or you need to use LD_LIBRARY_PATH?  Following FreeBSD's
heir(7) you would be hosed.

Take Netscape for this example.  They keep libraries in
/usr/local/{lib/}netscape.  When I upgrade Netscape I don't want to
have to comb through potentially hundreds of files under
/usr/local/lib.

12 years of Unix administration has convinced me that upgrades and
management are infinitely easier with a manageable number of files
under one root directory per application:

	/usr/local/apache/{etc,bin,lib}

(using symlinks where necessary) than with *dozens* or *hundreds* of
files under:

	/usr/local/{etc,bin,lib}

Roger Marquis
Roble Systems Consulting
http://www.roble.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.96.990114165407.1708A-100000>