Your message dated Sun, 1 Nov 2009 11:45:01 +0100
with message-id <[email protected]>
and subject line Re: Bug#553549: lurker: dir-or-file-in-var-www
/var/www/lurker/imgs/a.png and 31 others
has caused the Debian Bug report #553549,
regarding lurker: dir-or-file-in-var-www /var/www/lurker/imgs/a.png and 31
others
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
553549: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553549
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lurker
Version: 2.1-13
Severity: serious
User: [email protected]
Usertags: dir-or-file-in-var-www
Debian packages should not install files under /var/www. This is not
one of the /var directories in the File Hierarchy Standard and is
under the control of the local administrator. Packages should not
assume that it is the document root for a web server; it is very
common for users to change the default document root and packages
should not assume that users will keep any particular setting.
Packages that want to make files available via an installed web server
should instead put instructions for the local administrator in a
README.Debian file and ideally include configuration fragments for
common web servers such as Apache.
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.
Refer to Filesystem Hierarchy Standard (The /var Hierarchy) for
details.
One solution that works is to put configuration files into
/etc/<package_name>, put static content, if any, into
/usr/{share,lib}/<package_name>, then create /var/lib/<package name>
as home for the package, and symlink the files from /etc and /usr/
into the /var/lib/<package_name>. Then create a simple set of
configuration snippets for popular web servers (for example, files one
may link into /etc/apache2/conf.d) and put them into
/etc/<package_name>. This way user modifiable files stil live in /etc,
and a simple operation can make the package go live.
Filed as serious, since this is a violation of the FHS (which is part
of policy), and also since a package with these files will currently
get this package rejected. See
http://lists.debian.org/debian-devel-announce/2009/10/msg00004.html
for details. This means the package has been deemed too buggy to be in
Debian.
manoj
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.4-anzu-2 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lurker depends on:
ii adduser 3.111 add and remove users and groups
ii apache2 2.2.14-1 Apache HTTP Server metapackage
ii apache2-mpm-prefork [h 2.2.14-1 Apache HTTP Server - traditional n
ii cdebconf [debconf-2.0] 0.145 Debian Configuration Management Sy
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libc6 2.10.1-3 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-1 GCC support library
pn libmimelib1c2a <none> (no description available)
ii libstdc++6 4.4.2-1 The GNU Standard C++ Library v3
ii passwd 1:4.1.4.2-1 change and administer password and
ii ucf 3.0024 Update Configuration File: preserv
ii xsltproc 1.1.26-1 XSLT command line processor
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
lurker recommends no packages.
Versions of packages lurker suggests:
ii gnupg 1.4.10-2 GNU privacy guard - a free PGP rep
pn mailman <none> (no description available)
--- End Message ---
--- Begin Message ---
Version: 2.3-1
hey manoj,
On 01/11/2009 Manoj Srivastava wrote:
> Package: lurker
> Version: 2.1-13
> Severity: serious
> User: [email protected]
> Usertags: dir-or-file-in-var-www
>
> Debian packages should not install files under /var/www. This is not
> one of the /var directories in the File Hierarchy Standard and is
> under the control of the local administrator. Packages should not
> assume that it is the document root for a web server; it is very
> common for users to change the default document root and packages
> should not assume that users will keep any particular setting.
>
> Packages that want to make files available via an installed web server
> should instead put instructions for the local administrator in a
> README.Debian file and ideally include configuration fragments for
> common web servers such as Apache.
>
> 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.
>
> Refer to Filesystem Hierarchy Standard (The /var Hierarchy) for
> details.
>
> One solution that works is to put configuration files into
> /etc/<package_name>, put static content, if any, into
> /usr/{share,lib}/<package_name>, then create /var/lib/<package name>
> as home for the package, and symlink the files from /etc and /usr/
> into the /var/lib/<package_name>. Then create a simple set of
> configuration snippets for popular web servers (for example, files one
> may link into /etc/apache2/conf.d) and put them into
> /etc/<package_name>. This way user modifiable files stil live in /etc,
> and a simple operation can make the package go live.
>
> Filed as serious, since this is a violation of the FHS (which is part
> of policy), and also since a package with these files will currently
> get this package rejected. See
> http://lists.debian.org/debian-devel-announce/2009/10/msg00004.html
> for details. This means the package has been deemed too buggy to be in
> Debian.
this bug has been fixed by upload of lurker 2.3-1 in the meantime.
greetings,
jonas
signature.asc
Description: Digital signature
--- End Message ---