openbsd-ports/net/munin/patches/patch-node_sbin_munin-node-configure
kirby 0da08b478d Major update to munin-2.0.7
Full changelog is here:
https://github.com/munin-monitoring/munin/blob/2.0.7/ChangeLog

Lots of input and help from sthen@ (maintainer)
ok sthen@

P.S. Your config may need some manual interference.
2012-10-12 09:46:46 +00:00

15 lines
560 B
Plaintext

$OpenBSD: patch-node_sbin_munin-node-configure,v 1.2 2012/10/12 09:46:46 kirby Exp $
--- node/sbin/munin-node-configure.orig Fri Aug 31 19:22:50 2012
+++ node/sbin/munin-node-configure Sun Sep 30 23:02:45 2012
@@ -23,6 +23,10 @@ use warnings;
use Getopt::Long;
+# plugins run in taint mode because the uid is changed, so the path
+# must not contain writable directories.
+$ENV{PATH}='/bin:/sbin:/usr/bin:/usr/sbin:${PREFIX}/bin:${PREFIX}/sbin';
+
use Munin::Common::Defaults;
use Munin::Node::Configure::PluginList;
use Munin::Node::Configure::Debug;