Package: dwww
Version: 1.9.91
Severity: important

Hello,

I cannot access http://localhost/dwww/ because of the following error
in my cron.daily report:
=====
/etc/cron.daily/dwww:
Cannot rename /var/lib/dwww/dwww-build.OqTaAH/data/ to /var/www/dwww:
 Invalid cross-device link at /usr/sbin/dwww-build line 110.
run-parts: /etc/cron.daily/dwww exited with return code 18
=====

It seems that the problem is given by the fact that /var/www is a
symlink to /home/luca/var/www and they are on different devices
(/dev/hda2 for /var and /dev/hda6 for /home).

Policy 11.5 clearly permits a situation like mine:

 4. Web Document Root
   
    Web Applications should try to avoid storing files in the Web
    Document Root. Instead they should use the /usr/share/doc/package
    directory for documents and register the Web Application via the
    doc-base package. If access to the web document root is
    unavoidable then use
   
         /var/www
    
    as the Document Root. This might be just a symbolic link to the
    location where the system administrator has put the real document
    root.

Should this bug be severity serious?

Thx, bye,
Gismo / Luca

[1] 
http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-web-appl

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages dwww depends on:
ii  apache2-mpm-prefork [httpd-cg 2.0.55-4   traditional model for Apache2
ii  debconf [debconf-2.0]         1.4.72     Debian configuration management sy
ii  debianutils                   2.15.6     Miscellaneous utilities specific t
ii  doc-base                      0.7.20     utilities to manage online documen
ii  file                          4.17-1     Determines file type using "magic"
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libmime-types-perl            1.16-1     Perl extension for determining MIM
ii  man-db                        2.4.3-3    The on-line manual pager
ii  menu                          2.1.27     generates programs menu for all me
ii  mime-support                  3.36-1     MIME files 'mime.types' & 'mailcap
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 

Versions of packages dwww recommends:
ii  apt                           0.6.43.3   Advanced front-end for dpkg
ii  dlocate                       0.5-0.2    fast alternative to dpkg -L and dp
ii  info2www                      1.2.2.9-23 Read info files with a WWW browser

-- debconf information:
* dwww/cgiuser: www-data
* dwww/cgidir: /usr/lib/cgi-bin
* dwww/docrootdir: /var/www
* dwww/serverport: 80
* dwww/servername: gismo.pca.it
  dwww/index_docs: true
  dwww/nosuchdir:
  dwww/nosuchuser:
  dwww/badport:

Attachment: pgpFNtVNyANmB.pgp
Description: PGP signature

Reply via email to