Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78934 - FHS recommendation for /srv
Summary: FHS recommendation for /srv
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Stuart Herbert (RETIRED)
URL: http://www.pathname.com/fhs/pub/fhs-2...
Whiteboard:
Keywords:
: 212631 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-21 04:21 UTC by Fredrik Tolf
Modified: 2009-06-06 16:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik Tolf 2005-01-21 04:21:55 UTC
As I've understood it, the new FHS recommends that one puts service data (that is, the kind of stuff normally in /var/www, /var/ftp, /var/svn etc.) in /srv instead of /var these days. See the URL for reference.

I guess Gentoo should also move to /srv in that case, right?
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-01-21 07:20:09 UTC
There was a lot of talk about /srv a while ago on the gentoo-dev mailinglist. I suggest you check the archives. My memory is a little foggy, but i seem to recall that optional support for using /srv was discussed/implemented, but i'm not finding anything in the tree currently about it.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-21 08:54:51 UTC
Know anything about this?
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2005-01-21 11:11:18 UTC
Yes.

a) /srv is optional in the FHS.  The FHS also doesn't define any structure at all under /srv.  Part of the problem is that different organisations will benefit from layout out /srv in different ways.
b) /srv is (AFAIK) only supported under SuSE atm.
c) /var/www can already live under /srv - I run all my boxes that way.  Same for /var/svn and /var/ftp.
d) There is a GLEP for /srv support.  I believe it's been approved, but tbh I think we should revisit it before implementing it.

In lieu of a server TLP manager, I'm happy to own the bug if you want.

Best regards,
Stu
Comment 4 Tyler Berry 2005-11-03 13:23:12 UTC
Stuart, I don't read your note a) as being entirely correct; here's a quote from the FHS:

"Therefore, no program should rely on a specific subdirectory structure of /srv existing
or data necessarily being stored in /srv. However /srv should always exist on FHS
compliant systems and should be used as the default location for such data."

The first sentence of that statement validates the second half of your note a), that there
is no structure, but the second sentence states that /srv is actually not optional. In
fact, at least to me, it says that it's mandatory.

Since you're the author of GLEP 20, it's obvious you're in favor of supporting /srv, but I
thought it would be useful to clarify the FHS's apparent position on the issue.
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2006-07-27 09:15:53 UTC
There seems little interest in making this happen.  If someone else wants to fight the good fight, be my guest.

Best regards,
Stu
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-03-08 07:50:41 UTC
*** Bug 212631 has been marked as a duplicate of this bug. ***
Comment 7 David Butler 2009-04-29 21:40:17 UTC
Perhaps this would be best addressed on a Per-ebuild basis?
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-06 16:25:47 UTC
*** Bug 271982 has been marked as a duplicate of this bug. ***