[Bug 616685] Re: Please merge nginx 0.7.67-3 (universe) from Debian unstable (main)

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Thu Aug 12 12:09:38 BST 2010


lintian gives those errors:

E: nginx: dir-or-file-in-var-www var/www/nginx-default/
N:
N:    Debian packages should not install files under /var/www. This is not one
N:    of the /var directories in the File Hierarchy Standard and is under the
N:    control of the local administrator. Packages should not assume that it
N:    is the document root for a web server; it is very common for users to
N:    change the default document root and packages should not assume that
N:    users will keep any particular setting.
N:
N:    Packages that want to make files available via an installed web server
N:    should instead put instructions for the local administrator in a
N:    README.Debian file and ideally include configuration fragments for
N:    common web servers such as Apache.
N:
N:    As an exception, packages are permitted to create the /var/www directory
N:    due to its past history as the default document root, but should at most
N:    copy over a default file in postinst for a new install. In this case,
N:    please add a Lintian override.
N:
N:    Refer to Filesystem Hierarchy Standard (The /var Hierarchy) for details.
N:
N:    Severity: serious, Certainty: possible
N:
E: nginx: dir-or-file-in-var-www var/www/nginx-default/50x.html
E: nginx: dir-or-file-in-var-www var/www/nginx-default/index.html

-- 
Please merge nginx 0.7.67-3 (universe) from Debian unstable (main)
https://bugs.launchpad.net/bugs/616685
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “nginx” package in Ubuntu: Confirmed

Bug description:
Binary package hint: nginx

Please review attached debdiff





More information about the Ubuntu-sponsors mailing list