Bug#325708: php4-rrdtool: COMMENT tag in rrd_graph failing if COMMENT includes colon (:)

2005-08-30 Thread Matthew Exley
Package: php4-rrdtool
Version: 1.04-15
Severity: normal


Since 1.04-15, the COMMENT: tag in rrd_graph specifications now fails if
the comments include the colon character.

for example, a rrd_graph specification including:

'COMMENT: Graph Produced 30/08/05 12:09:13\r'

...will now fail with:
   ERROR: Garbage ':09:13\r' after command: COMMENT:Produced 30/08/05
   12:09:13\r

..Wheras this form was previously accepted. 



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (200, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.200506221
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages php4-rrdtool depends on:
ii  debconf [debconf-2.0] 1.4.58 Debian configuration management sy
ii  libapache-mod-php4 [phpapi-20 4:4.4.0-1  server-side, HTML-embedded scripti
ii  libc6 2.3.5-5GNU C Library: Shared libraries an
ii  librrd2   1.2.11-0.2 Time-series data storage and displ
ii  php4-cgi [phpapi-20050606]4:4.4.0-1  server-side, HTML-embedded scripti
ii  php4-cli [phpapi-20050606]4:4.4.0-1  command-line interpreter for the p

php4-rrdtool recommends no packages.

-- debconf information:
  php4/add_extension: true
* php4/extension_rrdtool_apache: true
  php4/remove_extension: true
* php4/extension_rrdtool_cgi: true
* php4/extension_rrdtool_cli: true


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



Bug#325708: php4-rrdtool: COMMENT tag in rrd_graph failing if COMMENT includes colon (:)

2005-08-30 Thread Matthias Klose
ok, will add that file.

Artur R. Czechowski writes:
 Note to mdz and doko: could you, please, include NEWS.gz file also in
 librrd2 and, perhaps, librrd2-dev packages?


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



Bug#325708: php4-rrdtool: COMMENT tag in rrd_graph failing if COMMENT includes colon (:)

2005-08-30 Thread Artur R. Czechowski
reassign 325708 librrd2
retitle 325708 Please include NEWS.gz file also in librrd2 and, perhaps, 
librrd2-dev
thanks

On Tue, Aug 30, 2005 at 12:13:01PM +0100, Matthew Exley wrote:
 Since 1.04-15, the COMMENT: tag in rrd_graph specifications now fails if
 the comments include the colon character.
 for example, a rrd_graph specification including:
 'COMMENT: Graph Produced 30/08/05 12:09:13\r'
 ...will now fail with:
ERROR: Garbage ':09:13\r' after command: COMMENT:Produced 30/08/05
12:09:13\r
 ..Wheras this form was previously accepted. 
Yes, indeed. You must know that php4-rrdtool doesn't parse given arguments
but pass it to librrd2, which is part of rrdtool. If you look into
/usr/share/doc/rrdtool/NEWS.gz you can find:

Incompatibilities
-
* Colons in COMMENT arguments to rrdtool graph must be escaped with a backslash

* the --alt-y-mrtg option is gone or rather since 1.2.7 it is back but
  without functionality.

So, it could be said: it's not a bug, it's a feature. You shall adjust
your scripts to new librrd2 behavior.

Note to mdz and doko: could you, please, include NEWS.gz file also in
librrd2 and, perhaps, librrd2-dev packages?

Regards
Artur
-- 
http://nerdquiz.sgh.waw.pl/


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