Help!

Bug#553496: doc-central: dir-or-file-in-var-www /var/www/d..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs RC RSS
Next:  Bug#549863: 855GM support gone upstream?  
Author Message
Manoj Srivastava
External


Since: Dec 07, 2004
Posts: 761



PostPosted: Sat Oct 31, 2009 8:10 pm    Post subject: Bug#553496: doc-central: dir-or-file-in-var-www /var/www/dc/index.html and two others
Archived from groups: linux>debian>bugs>rc (more info?)

Package: doc-central
Version: 1.8.2+nmu2
Severity: serious
User: lintian-maint.DeleteThis@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-Cool (ignored: LC_ALL set to en_US.UTF-Cool
Shell: /bin/sh linked to /bin/dash

Versions of packages doc-central depends on:
ii apache2 2.2.14-1 Apache HTTP Server metapackage
ii apache2-mpm-prefork [httpd-cg 2.2.14-1 Apache HTTP Server - traditional n
ii doc-base 0.9.5 utilities to manage online documen
ii info2www 1.2.2.9-24 Read info files with a WWW browser
ii python 2.5.4-2 An interactive high-level object-o

Versions of packages doc-central recommends:
ii elinks [www-browser] 0.12~pre5-1 advanced text-mode WWW browser
ii iceweasel [www-browser] 3.5.4-1 lightweight web browser based on M
ii konqueror [www-browser] 4:4.3.2-1 KDE 4's advanced file manager, web
ii lynx-cur [www-browser] 2.8.8dev.1-1 Text-mode WWW Browser with NLS sup
ii w3m [www-browser] 0.5.2-2.1 WWW browsable pager with excellent

doc-central suggests no packages.



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs RC All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum