* Marc Haber

> [this should probably be a policy violation and thus serious]

  No, like #308008 it fails the Â"must" or "required"Â-condition.

> Policy 11.5 says "Web Application shold try to avoid storing fils in
> the Web Document Root". Since, however, munin's web pages are
> generated and not included in the package, they should not be in
> /usr/share as the policy paragraph suggests, but they should instead
> be in /var/cache/munin.
> 
> There should then be a munin-apache and a munin-apache2 binary package
> which puts a config snippet defining an appropriate alias into
> /etc/apache/conf.d resp. /etc/apache2/conf.d.

  I'm a bit uncertain here.  A quick "apt-file search -x \^var/www" show
 60 packages containing the /var/www directory, including packages
 similar to Munin (cricket and mrtg).  For some reason, Munin itself
 didn't show up on that list, so there may be even more of them if I
 goofed up the apt-file command.

  Most of these, like Munin, only create a subdir under /var/www.  The
 way I interpreted the passage you quoted above when creating the
 initial package, was something like ÂWeb Application shold try to avoid
 storing files in the Web Document Root [, but rather create it's own
 subdir in it]Â.  This seems to be in accordance with current practise
 (to compare with the 60 packages above, only 10 packages ship files
 in /etc/apache{2,}/conf.d/, and half of these doesn't contain web
 applications at all, but Apache modules.

  Another thing that makes me even more uncertain about how to interpret
 that Policy paragraph is this: Â[...] and register the Web Application
 via the menu package.  As far as I know, there's no way to use the
 menu package to register web applications in a web server, so it makes
 me wonder if this passage is at all meant for packages such as Munin.

  I'm not too opposed to move the files, but I'm not certain that the
 current placement is actually wrong and would like some more input on
 that point.  Perhaps I'll ask on the mailing list, but first I'll
 discuss it with my co-maintainer.
  
-- 
Tore Anderson


Reply via email to