1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-08 04:49:17 -04:00
ports/sysutils/munin-node/files/patch-node__sbin__munin-node
Florian Smeets 7e06c048aa - update to 2.0.9
- use correct pidfile for munin-sched rc script [1]
- munin-cgi-graph requires FCGI [2]

Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr> [1]
		Sergey V. Dyatko <sergey.dyatko@gmail.com> [2]
Feature safe:	yes
2012-12-06 14:27:28 +00:00

13 lines
454 B
Text

--- node/sbin/munin-node.orig 2012-11-12 14:10:58.234196646 +0100
+++ node/sbin/munin-node 2012-11-12 14:11:19.591568597 +0100
@@ -54,6 +54,10 @@
$ENV{$key} = $1;
}
+ # 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';
+
parse_args();
my $config = Munin::Node::Config->instance();