Package: bugzilla3
Version: 3.0.4.1-2
Severity: normal

Webdot does not work for me with bugzilla.  I do have webdot
subdirectory in /var/lib/bugzilla3/data, and symlink from
/usr/lib/cgi-bin/bugzilla3. Images are created, but apache is unable to
send them to user.

The problem is that apache tries to execute any files it finds in
/usr/lib/cgi-bin/** (it is cgi-bin, after all...).  So, I see following
error in apache log:
[Thu Aug 07 11:27:46 2008] [error] (13)Permission denied: exec of 
'/usr/lib/cgi-bin/bugzilla3/webdot/zWJIqlKsv7.png' failed
[Thu Aug 07 11:27:46 2008] [error] [client 192.168.38.37] Premature end of 
script headers: zWJIqlKsv7.png

Following approach fixed the problem for me:
ln -s /var/lib/bugzilla3/data/webdot /var/www/bugzilla3/
in /usr/lib/cgi-bin/bugzilla3/showdependencygraph.cgi:
    # [EMAIL PROTECTED]: Patch for local configuration of GraphViz.
    my $urlbase = Bugzilla->params->{'urlbase'};
    #$vars->{'image_url'} =~ s#$webdotdir#${urlbase}webdot#;
    $vars->{'image_url'} =~ s#$webdotdir#/bugzilla3/webdot#;


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (150, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bugzilla3 depends on:
ii  apache2                 2.2.9-6          Apache HTTP Server metapackage
ii  apache2-mpm-worker [htt 2.2.9-6          Apache HTTP Server - high speed th
ii  dbconfig-common         1.8.39           common framework for packaging dat
ii  debconf                 1.5.22           Debian configuration management sy
ii  libappconfig-perl       1.56-2           Perl module for configuration file
ii  libcgi-pm-perl          3.38-2           Simple Common Gateway Interface Cl
ii  libdbd-mysql-perl       4.007-1          A Perl5 database interface to the 
ii  libemail-mime-modifier- 1.442-3          Modify Email::MIME objects easily
ii  libemail-send-perl      2.192-3          Simply Sending Email
ii  libtemplate-perl        2.19-1+b1        template processing system written
ii  libtimedate-perl        1.1600-9         Time and date functions for Perl
ii  mysql-client            5.0.51a-9+lenny2 MySQL database client (meta packag
ii  mysql-client-5.0 [mysql 5.0.51a-9+lenny2 MySQL database client binaries
ii  patch                   2.5.9-5          Apply a diff file to an original
ii  perl-modules [libcgi-pm 5.10.0-11.1      Core Perl modules
ii  sendmail-bin [mail-tran 8.14.3-5         powerful, efficient, and scalable 
ii  ucf                     3.007            Update Configuration File: preserv

Versions of packages bugzilla3 recommends:
ii  libchart-perl       2.4.1-5              Chart Library for Perl
ii  libxml-parser-perl  2.36-1.1+b1          Perl module for parsing XML files
ii  mysql-server-5.0 [m 5.0.51a-9+lenny2     MySQL database server binaries
ii  perlmagick          7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr

Versions of packages bugzilla3 suggests:
ii  bugzilla3-doc                 3.0.4.1-1  comprehensive guide to Bugzilla
ii  graphviz                      2.20.0-1   rich set of graph drawing tools
ii  libgd-gd2-perl                1:2.39-2   Perl module wrapper for libgd - gd
ii  libgd-graph-perl              1.44-3     Graph Plotting Module for Perl 5
ii  libgd-text-perl               0.86-5     Text utilities for use with GD
ii  libhtml-parser-perl           3.56-1+b1  A collection of modules that parse
ii  libhtml-scrubber-perl         0.08-4     Perl extension for scrubbing/sanit
ii  libmailtools-perl             2.03-1     Manipulate email in perl programs
ii  libmime-tools-perl            5.427-1    Perl5 modules for MIME-compliant m
ii  libnet-ldap-perl              1:0.36-1   A Client interface to LDAP servers
pn  libsoap-lite-perl             <none>     (no description available)
ii  libwww-perl                   5.813-1    WWW client/server library for Perl
ii  libxml-twig-perl              1:3.32-1   Perl module for processing huge XM

-- debconf-show failed

-- 
Alexandra N. Kossovsky
OKTET Labs (http://www.oktetlabs.ru/)
Phones: +7(921)956-42-86(mobile) +7(812)783-21-91(office)
e-mail: [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to