diff options
author | Tyler Langlois | 2015-08-24 22:32:49 -0400 |
---|---|---|
committer | Tyler Langlois | 2015-08-24 22:32:49 -0400 |
commit | 88ebc67513f55bc489c1b729f3c3cb4b04ad77b6 (patch) | |
tree | d3b44c1d72d30284f2c5f7be996dfc639fba80e6 /uid.patch | |
download | aur-88ebc67513f55bc489c1b729f3c3cb4b04ad77b6.tar.gz |
Bring ganglia to AUR4
Derived from https://github.com/aur-archive/ganglia with the following changes:
- Use upstream systemd service units
- Drop .rc init scripts
- Use sysusers paradigm in lieu of manual steps in .install file
Diffstat (limited to 'uid.patch')
-rw-r--r-- | uid.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/uid.patch b/uid.patch new file mode 100644 index 000000000000..1655490336af --- /dev/null +++ b/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) |