diff options
author | Nicolás Reynolds <fauno@parabola.nu> | 2013-06-17 14:24:55 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@parabola.nu> | 2013-06-17 14:24:55 -0300 |
commit | 7a843b9d9cca3b4b8a692c4eacc27e28666423a2 (patch) | |
tree | 2cdfc9942731a8878681202fdee0498ff29df5be /pcr/ganglia/uid.patch | |
parent | 7daeae8ee78e7c78585a5625bcc78f4cddaedb8e (diff) |
ganglia upgrade (using aur pkgbuild)
Diffstat (limited to 'pcr/ganglia/uid.patch')
-rw-r--r-- | pcr/ganglia/uid.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/ganglia/uid.patch b/pcr/ganglia/uid.patch new file mode 100644 index 000000000..165549033 --- /dev/null +++ b/pcr/ganglia/uid.patch @@ -0,0 +1,33 @@ +--- a/configure ++++ b/configure +@@ -1588,7 +1588,7 @@ Optional Features: + + --enable-debug turn on debugging output and compile options + --enable-gexec turn on gexec support (platform-specific) +- --enable-setuid=USER turn on setuid support (default setuid=nobody) ++ --enable-setuid=USER turn on setuid support (default setuid=ganglia) + --enable-setgid=GROUP turn on setgid support (default setgid=no) + --enable-pedantic turn on pedantic mode during compile + --enable-memcheck turn on memory checking during compile +@@ -11152,7 +11152,7 @@ $as_echo "#define SUPPORT_GEXEC 0" >>confdefs.h + fi + + +-setuid_user=nobody ++setuid_user=ganglia + # Check whether --enable-setuid was given. + if test "${enable_setuid+set}" = set; then : + enableval=$enable_setuid; if test x"$enableval" != xno; then no_setuid=0; setuid_user=$enableval ; fi +--- a/gmetad/gmetad.conf.in ++++ b/gmetad/gmetad.conf.in +@@ -99,8 +99,8 @@ data_source "my cluster" localhost + #------------------------------------------------------------------------------- + # User gmetad will setuid to (defaults to "nobody") + # default: "nobody" +-# setuid_username "nobody" +-# ++setuid_username "ganglia" ++ + #------------------------------------------------------------------------------- + # Umask to apply to created rrd files and grid directory structure + # default: 0 (files are public) |