[Fedora-packaging] Re: Packaging into /srv? (was: FHS Compliance?)

Matthew Miller mattdm at mattdm.org
Mon Oct 23 17:28:32 UTC 2006


On Mon, Oct 23, 2006 at 07:15:48PM +0200, Nicolas Mailhot wrote:
> > > FHS says both that we must not impose any particular directory
> > > structure within /srv, and that we must use /srv as the "default
> > > location" for storing data used by services. The only way to satisfy
> > > that would be to do the equivalent of "DocumentRoot /srv" for every
> > > service, which would be simply stupid.
> > It doesn't say you must not have any particular defaults in srv -- just
> > that applications must not expect it to be in any particular way.
> Replace applications there by third-party applications

No, I don't think so, actually.

> Obviously Fedora-packaged apps can expect whatever Fedora layout Fedora
> provides.

Why is that obvious?

For example, look at /usr/local. Fedora provides a default layout there, but
any Fedora-packaged program which has a problem if someone does something
different is broken.

Similarly, creating a /srv/www and making it the default document root for
apache is fine. However, making other packages expect it to be there isn't
so good.


-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>




More information about the Fedora-packaging mailing list