/var versus /srv: will this ever be cleaned up?

Robert P. J. Day rpjday at mindspring.com
Thu Nov 25 19:21:59 UTC 2004


  is there some coherent policy these days about the location of /srv
as "Data for services provided by this system", according to the FHS?
i've been perpetually annoyed about the current mess that is /var, as
it currently contains two *very* different types of content.

  first, there's the truly transient stuff that can be blown away
totally during a re-install or an upgrade.  stuff like log/, lock/,
cache/, run/ and so on.

  and then there's the actual network services configuration info and
data, like www/, ftp/, nis/ and yp/, which you would *not* want to
lose across upgrades.  ideally, this is the kind of stuff that /srv
was designed for, no?

  and FC3 automatically installs /srv (yay!), and then does absolutely
nothing with it (boo!).  all of the network services info is still
under /var, as always.

  what are people doing in terms of starting to officially use the
/srv directory?  symlinks?  such as

  /var/www -> /srv/www
  /var/yp -> /srv/yp

etc, etc.  i realize the FHS is still completely vague on how /srv is
going to be used.  i'm just curious about what some folks are doing
with it, if anything.

rday




More information about the fedora-list mailing list