diff options
Diffstat (limited to 'sysutils/munin-node/files/patch-node__sbin__munin-run')
| -rw-r--r-- | sysutils/munin-node/files/patch-node__sbin__munin-run | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/munin-node/files/patch-node__sbin__munin-run b/sysutils/munin-node/files/patch-node__sbin__munin-run new file mode 100644 index 000000000000..3730ea03ffea --- /dev/null +++ b/sysutils/munin-node/files/patch-node__sbin__munin-run @@ -0,0 +1,12 @@ +--- node/sbin/munin-run.orig Wed Oct 20 14:50:43 2010 ++++ node/sbin/munin-run Wed Oct 20 14:52:51 2010 +@@ -53,6 +53,9 @@ sub main + $ENV{$key} =~ /^(.*)$/; + $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'; + + $0 =~ /^(.*)$/; + $0 = $1; |
