Date: Fri, 19 Mar 2010 15:40:35 GMT From: Vincent Hoffman <vince@unsane.co.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/144876: nfsen wont work with rrdtool 1.4.2 (current in ports) [WITH PATCH] Message-ID: <201003191540.o2JFeZvH059742@www.freebsd.org> Resent-Message-ID: <201003191550.o2JFo1Oh031057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144876 >Category: ports >Synopsis: nfsen wont work with rrdtool 1.4.2 (current in ports) [WITH PATCH] >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 19 15:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Vincent Hoffman >Release: 8.0-RELEASE-8.0-RELEASE-p2 >Organization: >Environment: FreeBSD seaurchin.the.namesco.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: nfsen checks for rrdtool version to set the offset, this check fails for $rrd_version < 1.4 as the author hasnt tested with higher versions at this time. However I've been running nfsen with rrdtool 1.4.2 for approx a week now with no issues seen. >How-To-Repeat: upgrade to latest rrdtool and restart nfsen >Fix: Patch attached. follows ----------------cut----------------- --- libexec/NfSenRRD.pm.orig 2009-06-10 08:54:48.000000000 +0100 +++ libexec/NfSenRRD.pm 2010-03-11 10:36:14.000000000 +0000 @@ -73,7 +73,7 @@ if ( $rrd_version < 1.1 ) { # it's RRD 1.0.x $RRDoffset = 77; } - if ( $rrd_version >= 1.2 && $rrd_version < 1.4 ) { + if ( $rrd_version >= 1.2 && $rrd_version < 1.5 ) { $RRDoffset = 67; } ------------------cut------------------------------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003191540.o2JFeZvH059742>