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

Re: /var/www is depracated, which directory to use?



On Mon, Nov 2, 2009 at 2:30 PM, Stig Sandbeck Mathisen <ssm@debian.org>
wrote:
> All munin needs is a place to write static html and png files.
>
> * /var/lib/munin is already used as top level for munin's data files.
>  If we add a web root there, it may cause collisions.
>

Right.

> * /var/cache may not be the best place, since FHS says that data here
>  can be deleted with little consequence, and the generated web pages
>  will be gone until the next time munin-graph and munin-html runs.

Is /var/cache really such a bad option? I mean, the entire web content
is re-generated from templates & graphs are re-generated from the rrd
databases every 5 minutes. So even if someone did delete the directory,
it'll just be recreated up to 5 minutes later.

>
> One could ask via debconf, and suggest /var/www/munin as a default,
> would that be acceptable?

Users might not know a good answer such a question and will probably
just stick with the defaults, so suggesting /var/www/munin will just
keep the current non FHS complaint status quo.

Regards,
   Tom Feiner


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: