Date: Fri, 11 Feb 2011 15:42:01 GMT From: Oliver Brandmüler <ob@e-gitt.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/154688: munin-node plugin http_loadtime wrong usage of mktemp Message-ID: <201102111542.p1BFg1sa066309@red.freebsd.org> Resent-Message-ID: <201102111550.p1BFo70f015502@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154688 >Category: ports >Synopsis: munin-node plugin http_loadtime wrong usage of mktemp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 11 15:50:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Oliver Brandmüler >Release: FreeBSD 8-STABLE >Organization: >Environment: >Description: The plugin http_loadtime uses: TMPDIR=`mktemp -d` || exit 1 in one place, where for FreeBSD it needs to be (f.e.) TMPDIR=`mktemp -d /tmp/munin.http_loadtime.XXXXXX` || exit 1 so the plugin doesn't work out of the box. >How-To-Repeat: install munin-node and activate the plugin >Fix: TMPDIR=`mktemp -d` || exit 1 replaced by TMPDIR=`mktemp -d /tmp/munin.http_loadtime.XXXXXX` || exit 1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102111542.p1BFg1sa066309>