Debian Bug report logs - #545680
Broken includes in /usr/share/nagvis/htdocs/nagvis/ajax_handler.php

version graph

Package: nagvis; Maintainer for nagvis is Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>; Source for nagvis is src:nagvis (PTS, buildd, popcon).

Reported by: Alexander Reichle-Schmehl <tolimar@debian.org>

Date: Tue, 8 Sep 2009 12:03:01 UTC

Severity: important

Tags: patch

Found in version nagvis/1:1.3.1-3

Fixed in versions 1:1.4.5-1, nagvis/1:1.3.1-3.1

Done: Alexander Reichle-Schmehl <tolimar@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Hendrik Frenzel <hfrenzel@scunc.net>:
Bug#545680; Package nagvis. (Tue, 08 Sep 2009 12:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to Alexander Reichle-Schmehl <tolimar@debian.org>:
New Bug report received and forwarded. Copy sent to Hendrik Frenzel <hfrenzel@scunc.net>. (Tue, 08 Sep 2009 12:03:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alexander Reichle-Schmehl <tolimar@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Broken includes in /usr/share/nagvis/htdocs/nagvis/ajax_handler.php
Date: Tue, 08 Sep 2009 13:40:31 +0200
Package: nagvis
Version: 1:1.3.1-3
Severity: important


Hi!

With an out of the box installation of nagvis, the hover maps were broken
for me.  All I got was a timeout error, when hovering over objects.

Debugging the problem showed, that
/usr/share/nagvis/htdocs/nagvis/ajax_handler.php contained broken require
statements with a non existant local path.  Replacing all the
'require("./includes' with 'require("/usr/share/nagvis/includes' fixed the
problem for me.


A quick and dirty check with:

for x in $(dpkg -L nagvis|grep php) ; do grep -iH 'require("\./includes' $x ; done

Shows additonally the following two includes:
/usr/share/nagvis/htdocs/wui/form_handler.php:	require("./includes/classes/WuiShapeManagement.php");
/usr/share/nagvis/htdocs/wui/form_handler.php:	require("./includes/classes/WuiShapeManagement.php");

Haven't tested that far yet, but they might be need to be patched, too.


Best regards,
  Alexander



-- System Information:
Debian Release: 5.0.3
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to de_DE@euro)
Shell: /bin/sh linked to /bin/bash




Information forwarded to debian-bugs-dist@lists.debian.org, Hendrik Frenzel <hfrenzel@scunc.net>:
Bug#545680; Package nagvis. (Mon, 01 Feb 2010 11:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Alexander Reichle-Schmehl <tolimar@debian.org>:
Extra info received and forwarded to list. Copy sent to Hendrik Frenzel <hfrenzel@scunc.net>. (Mon, 01 Feb 2010 11:57:03 GMT) (full text, mbox, link).


Message #10 received at 545680@bugs.debian.org (full text, mbox, reply):

From: Alexander Reichle-Schmehl <tolimar@debian.org>
To: 545680@bugs.debian.org
Subject: nagvis: diff for NMU version 1:1.3.1-3.1
Date: Mon, 1 Feb 2010 12:54:19 +0100
[Message part 1 (text/plain, inline)]
tags 545680 + patch
thanks

Dear maintainer,

In accordance with Developer Reference 5.11.1 I've prepared an NMU for
nagvis (versioned as 1:1.3.1-3.1) and uploaded it to DELAYED/10. Please
feel free to tell me if I should delay it longer.

The attached patch is bit confusing, as dpatch seems have updates some
timestamps.  As it is dpatch's default behavious I left it the way it
is.  The patch actually only fixes ajax_handler.php as show in the
inital mail.


Best Regards,
  Alexander
[nagvis-1.3.1-3.1-nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Alexander Reichle-Schmehl <tolimar@debian.org> to control@bugs.debian.org. (Mon, 01 Feb 2010 11:57:06 GMT) (full text, mbox, link).


Reply sent to Alexander Reichle-Schmehl <tolimar@debian.org>:
You have taken responsibility. (Thu, 11 Feb 2010 12:48:09 GMT) (full text, mbox, link).


Notification sent to Alexander Reichle-Schmehl <tolimar@debian.org>:
Bug acknowledged by developer. (Thu, 11 Feb 2010 12:48:09 GMT) (full text, mbox, link).


Message #17 received at 545680-close@bugs.debian.org (full text, mbox, reply):

From: Alexander Reichle-Schmehl <tolimar@debian.org>
To: 545680-close@bugs.debian.org
Subject: Bug#545680: fixed in nagvis 1:1.3.1-3.1
Date: Thu, 11 Feb 2010 12:47:37 +0000
Source: nagvis
Source-Version: 1:1.3.1-3.1

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

nagvis_1.3.1-3.1.diff.gz
  to main/n/nagvis/nagvis_1.3.1-3.1.diff.gz
nagvis_1.3.1-3.1.dsc
  to main/n/nagvis/nagvis_1.3.1-3.1.dsc
nagvis_1.3.1-3.1_all.deb
  to main/n/nagvis/nagvis_1.3.1-3.1_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 545680@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Reichle-Schmehl <tolimar@debian.org> (supplier of updated nagvis 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: Mon, 01 Feb 2010 11:33:49 +0100
Source: nagvis
Binary: nagvis
Architecture: source all
Version: 1:1.3.1-3.1
Distribution: unstable
Urgency: low
Maintainer: Hendrik Frenzel <hfrenzel@scunc.net>
Changed-By: Alexander Reichle-Schmehl <tolimar@debian.org>
Description: 
 nagvis     - Visualization addon for Nagios
Closes: 545680
Changes: 
 nagvis (1:1.3.1-3.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Updated debian/patches/patchname.dpatch to include some more includes
     in ajax_handler.php and wui/form_handler.php (Closes: #545680)
Checksums-Sha1: 
 b4fea4455e64a02d78a5ab38e0d996014cd6c5fe 1253 nagvis_1.3.1-3.1.dsc
 0757c28435eeef307d96de99774e08fe788a40d5 10720 nagvis_1.3.1-3.1.diff.gz
 0c814297efaaccd082f23f50e363a4d802ec8c0c 325252 nagvis_1.3.1-3.1_all.deb
Checksums-Sha256: 
 8d8d647a7ad54bd20b89d93e7f85e8cc77f02f24c4551c5105ce5e7e3b24f897 1253 nagvis_1.3.1-3.1.dsc
 dafa61ce8c869f0a8a1f448d58a574484b6138c720d8c7bea9c34bef06c9c7f8 10720 nagvis_1.3.1-3.1.diff.gz
 3a3dfe77725e4114edcd1c20c558fd031f6e9d26af6b5bd24950a74543303427 325252 nagvis_1.3.1-3.1_all.deb
Files: 
 386b837750286b753ba1cf2e17405620 1253 net extra nagvis_1.3.1-3.1.dsc
 407b991e52299cc655ea27e075e2b4b3 10720 net extra nagvis_1.3.1-3.1.diff.gz
 d474c7cde8930ce5390ecc0a298f2338 325252 net extra nagvis_1.3.1-3.1_all.deb

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

iEYEARECAAYFAktmwPYACgkQBxd04ADYzRYFrQCcCN25OVxgn3uWBQ5V6teRcQQ9
WugAn0kjJwrVgQgOPNWt1VTINw4lJiGa
=9WrY
-----END PGP SIGNATURE-----





Marked as fixed in versions 1:1.4.5-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Mon, 04 Nov 2013 12:03:46 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 03 Dec 2013 07:48:33 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:36:54 2026; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.