← Back to team overview

registry team mailing list archive

[Bug 547267] Re: nginx should not install into /var/www/nginx-default (Debian policy)

 

According to the debian policy, it is acceptable to place basic web
files in /var/www because of it's nature.

http://lintian.debian.org/tags/dir-or-file-in-var-www.html
"""As an exception, packages are permitted to create the /var/www directory due to its past history as the default document root, but should at most copy over a default file in postinst for a new install. In this case, please add a Lintian override."""

In my opinion, these files should exist. It offers the ability to
install Nginx and verify that it's working without doing any changes to
the system.

If we want to be pedantic about this bug, this we could instead of
pointing the default website at /var/nginx-default, we could point it at
/usr/share/nginx/nginx-default. This may be the best option because it
would 1) obey the policy 2) allow the benefits of having a default
website.

-- 
nginx should not install into /var/www/nginx-default (Debian policy)
https://bugs.launchpad.net/bugs/547267
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.