Your message dated Sat, 05 Feb 2005 05:02:23 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#293409: fixed in pdbv 2.0.9.4
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Feb 2005 02:33:24 +0000
>From [EMAIL PROTECTED] Wed Feb 02 18:33:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from anchor-post-32.mail.demon.net [194.217.242.90]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CwWo7-0000GU-00; Wed, 02 Feb 2005 18:33:23 -0800
Received: from xibalba.demon.co.uk ([80.176.227.229])
by anchor-post-32.mail.demon.net with esmtp (Exim 4.42)
id 1CwWo5-000Lwj-6s
for [EMAIL PROTECTED]; Thu, 03 Feb 2005 02:33:21 +0000
Date: Thu, 3 Feb 2005 02:33:21 +0000
From: Justin B Rye <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: pdbv: cronjobs "failing" to source config
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.2
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: pdbv
Version: 2.0.9.3
Severity: normal
Tags: patch
According to the changelog, the upgrade from 2.0.9.2 to .3 contained
only updated translations. However, it results in the cronjobs
outputting an error message:
> Unable to run /etc/pdbv/pdbvrc Most commonly, it's a privilege issue.
> Asked at /usr/bin/pdbv line 1229.
This remains true after a purge and fresh default install. A diff
of /usr/bin/pdbv versions implies that the main change is here:
--- pdbv.old
+++ pdbv.new
@@ -1223,9 +1226,7 @@
}
sub PdbvReadConf {
if (-e $_[0]) {
- print "source $_[0]" if $debug;
- do $_[0] or my $failed =1;
- warn "Unable to run ".$_[0], RED,"Most commonly, it's a privilege
issue.",RESET,"\nAsked" if $failed && $debug;
+ do $_[0] or warn "Unable to run ".$_[0], RED,"Most commonly, it's a
privilege issue.",RESET,"\nAsked";
}
}
sub PdbvExecutionTime {
So; the problem isn't that it has started failing so much as that it
has started complaining. However, the complaint is mistaken! If I
add a line to the end of the pdbvrc saying "warn 'I RAN';0;", I find
that it does run, but arrives together with a claim that it was
unable to run. But turn the 0 to 1 and it's happy.
All that matters is whether a return value exists, not whether the
last variable was set to 0 or 1. The fix is one extra word:
sub PdbvReadConf {
if (-e $_[0]) {
defined do $_[0] or warn "Unable to run ".$_[0], RED,"Most commonly,
it's a privilege issue.",RESET,"\nAsked";
}
}
Hope this helps, and many thanks for the package.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.9
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages pdbv depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii debconf 1.4.30.11 Debian configuration management sy
ii liblocale-gettext-perl 1.01-17 Using libc functions for internati
ii perl-base 5.8.4-5 The Pathologically Eclectic Rubbis
ii perl-modules 5.8.4-5 Core Perl modules
-- debconf information:
pdbv/cron: hourly
* pdbv/clean_output_dir: true
pdbv/force: false
pdbv/listing: all
* pdbv/cron_lang:
pdbv/light: false
* pdbv/output_dir: /var/www/pdbv
--
JBR
Ankh kak! (Ancient Egyptian blessing)
---------------------------------------
Received: (at 293409-close) by bugs.debian.org; 5 Feb 2005 10:08:02 +0000
>From [EMAIL PROTECTED] Sat Feb 05 02:08:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CxMrB-0004yL-00; Sat, 05 Feb 2005 02:08:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CxMlj-0006uj-00; Sat, 05 Feb 2005 05:02:23 -0500
From: Mathieu Roy <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#293409: fixed in pdbv 2.0.9.4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 05 Feb 2005 05:02:23 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: pdbv
Source-Version: 2.0.9.4
We believe that the bug you reported is fixed in the latest version of
pdbv, which is due to be installed in the Debian FTP archive:
pdbv_2.0.9.4.dsc
to pool/main/p/pdbv/pdbv_2.0.9.4.dsc
pdbv_2.0.9.4.tar.gz
to pool/main/p/pdbv/pdbv_2.0.9.4.tar.gz
pdbv_2.0.9.4_all.deb
to pool/main/p/pdbv/pdbv_2.0.9.4_all.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mathieu Roy <[EMAIL PROTECTED]> (supplier of updated pdbv 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 3 Feb 2005 12:17:20 +0100
Source: pdbv
Binary: pdbv
Architecture: source all
Version: 2.0.9.4
Distribution: unstable
Urgency: high
Maintainer: Mathieu Roy <[EMAIL PROTECTED]>
Changed-By: Mathieu Roy <[EMAIL PROTECTED]>
Description:
pdbv - output an XHTML view of the dpkg database
Closes: 293409
Changes:
pdbv (2.0.9.4) unstable; urgency=high
.
* Fix erroneous error message saying pdbvrc cant be run (closes: #293409).
Files:
efcc56f5755537d75bd54cc897019ec7 542 admin optional pdbv_2.0.9.4.dsc
0a298641c39ae24cf9c11631fb176448 67540 admin optional pdbv_2.0.9.4.tar.gz
2843eb691f4010472e9a160eb9fcc83e 65158 admin optional pdbv_2.0.9.4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCBJZn3JE9mF3wMWcRAni/AJwMsJxXPElBkyN4gFPK3RO9pnQodgCcCibF
7y92FxAao+5VbyI+JeLRwco=
=FGx3
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]