[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775318: debian-policy: Using /srv instead of /var/lib for served user-level data



Afif Elghraoui <afif.elghraoui@openmailbox.org> writes:

> Thanks for the clarification-- I mistakenly thought this meant that the
> distribution could define its own directory structure there.

Yeah, I totally understand how you could get that impression.
Unfortunately, the FHS isn't horribly clear on who the actors are at
various points.

One thing that I was going to add and then forgot to is that, in most
cases, software really should make its data locations configurable.  I
would say that any package in Debian that doesn't allow you to configure
where it puts its data, at least if that data is at all large (not just
PID files and similar sorts of tiny stuff where the overhead of relocating
it isn't worth it), probably has a bug.  It may just be a wishlist bug,
and it may be an upstream bug, but it might still be worth filing it.

Particularly if the data is at all large, being able to relocate it is
important and is something that we should support.  For example, in Amazon
EC2 instances, the root file system is often quite small and can't be made
larger, but more disk space can be mounted elsewhere, so it's important to
be able to move data to other paths.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: