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

Bug#553540: marked as done (htdig: dir-or-file-in-var-www /var/www/htdig/button1.gif and 31 others)



Your message dated Fri, 22 Jan 2010 17:32:14 +0000
with message-id <E1NYNMk-00024G-Vr@ries.debian.org>
and subject line Bug#553540: fixed in htdig 1:3.2.0b6-9.1
has caused the Debian Bug report #553540,
regarding htdig: dir-or-file-in-var-www /var/www/htdig/button1.gif 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 owner@bugs.debian.org
immediately.)


-- 
553540: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553540
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: htdig
Version: 1:3.2.0b6-9
Severity: serious
User: lintian-maint@debian.org
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 htdig depends on:
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
ii  libstdc++6             4.4.2-1           The GNU Standard C++ Library v3
ii  lockfile-progs         0.1.13            Programs for locking and unlocking
ii  perl                   5.10.1-6          Larry Wall's Practical Extraction 
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

htdig recommends no packages.

Versions of packages htdig suggests:
ii  apache2-mpm-prefork [httpd]  2.2.14-1    Apache HTTP Server - traditional n
ii  htdig-doc                    1:3.2.0b6-9 web search and indexing system - d

-- debconf information:
* htdig/run-rundig: false
* htdig/generate-databases: true



--- End Message ---
--- Begin Message ---
Source: htdig
Source-Version: 1:3.2.0b6-9.1

We believe that the bug you reported is fixed in the latest version of
htdig, which is due to be installed in the Debian FTP archive:

htdig-doc_3.2.0b6-9.1_all.deb
  to main/h/htdig/htdig-doc_3.2.0b6-9.1_all.deb
htdig_3.2.0b6-9.1.diff.gz
  to main/h/htdig/htdig_3.2.0b6-9.1.diff.gz
htdig_3.2.0b6-9.1.dsc
  to main/h/htdig/htdig_3.2.0b6-9.1.dsc
htdig_3.2.0b6-9.1_i386.deb
  to main/h/htdig/htdig_3.2.0b6-9.1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 553540@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mats Erik Andersson <mats.andersson@gisladisker.se> (supplier of updated htdig package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 19 Jan 2010 16:10:36 +0100
Source: htdig
Binary: htdig htdig-doc
Architecture: source all i386
Version: 1:3.2.0b6-9.1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Mats Erik Andersson <mats.andersson@gisladisker.se>
Description: 
 htdig      - web search and indexing system - binaries
 htdig-doc  - web search and indexing system - documentation
Closes: 553540
Changes: 
 htdig (1:3.2.0b6-9.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Resolve RC-bug 'dir-or-file-in-var-www'. (Closes: #553540)
     + debian/rules:
       o Use '--with-image-dir=/var/lib/htdig/www'.
       o Use parent option 'mkdir -p' to avoid errors.
     + debian/htdig.install: Exchange 'var/www/htdig' for
         'var/lib/htdig/www'.
     + debian/NEWS: New file documenting the changes caused by FHS.
Checksums-Sha1: 
 b375edf5eef5cf02f3148882aeafb06cfe52a8b6 1017 htdig_3.2.0b6-9.1.dsc
 11a16c9009ffd2be3ddcee301f7cc9c1709739d3 115208 htdig_3.2.0b6-9.1.diff.gz
 5a1deed3ceb9626657862acbc0f904cc9214c767 529952 htdig-doc_3.2.0b6-9.1_all.deb
 a0d9048b079a71c7ca20247a3839fa1e9ce12218 1855132 htdig_3.2.0b6-9.1_i386.deb
Checksums-Sha256: 
 983b83650edd8cc6f972425ab5de071c0f435114ba78f964a6ff22cf17931fbe 1017 htdig_3.2.0b6-9.1.dsc
 c7c43da05b6205e12f6a6fcaa85929a0e04454af03fa16772d3d92ecc173082c 115208 htdig_3.2.0b6-9.1.diff.gz
 7c12e439b565b4b1f5949f329d6623946c36d87825bad3759e74f37b2157377f 529952 htdig-doc_3.2.0b6-9.1_all.deb
 9d8e8354316205debd931ccfda965bd2ddab3c7f1204f12926fc98ef171613a9 1855132 htdig_3.2.0b6-9.1_i386.deb
Files: 
 c66de0267d43962053d6b17ef335609c 1017 web optional htdig_3.2.0b6-9.1.dsc
 ef502c53aa111aad052f1c628882a3d4 115208 web optional htdig_3.2.0b6-9.1.diff.gz
 d2a2c02e7b253f10d15ca495f0780f91 529952 doc optional htdig-doc_3.2.0b6-9.1_all.deb
 9b09248c8c1e613212226a5edf0eb25e 1855132 web optional htdig_3.2.0b6-9.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAktZ3yUACgkQ62zWxYk/rQeTkgCfafagk7xnZRfnPD1+H0AdS8WT
MC0AoJJTh4HSjGvDjZSmVMPQIPPqpnD3
=Va2M
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: