diff options
author | Amitay Isaacs <amitay@gmail.com> | 2013-04-03 14:44:08 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-04-08 11:14:28 +1000 |
commit | d931e73fb83fe1ced9c41b06c15060fd18aff3d7 (patch) | |
tree | d4223a6b1ebfacdcc7cf420ce4711b695b1b6d19 /ctdb/Makefile.in | |
parent | 41f0252da22b97667ecdbc2235930d3b2523aa4d (diff) | |
download | samba-d931e73fb83fe1ced9c41b06c15060fd18aff3d7.tar.gz samba-d931e73fb83fe1ced9c41b06c15060fd18aff3d7.tar.xz samba-d931e73fb83fe1ced9c41b06c15060fd18aff3d7.zip |
statd-callout: Make sure statd callout script always runs as root
In RHEL 6+, rpc.statd runs as "rpcuser" instead of root as on RHEL 5. This
prevents CTDB tool commands talking to daemon since "rpcuser" cannot access
CTDB socket.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Pair-Programmed-With: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit fe8c4880b371492a38554868d4ca10918c54e412)
Diffstat (limited to 'ctdb/Makefile.in')
-rwxr-xr-x | ctdb/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in index 762f788515c..9511e906de6 100755 --- a/ctdb/Makefile.in +++ b/ctdb/Makefile.in @@ -330,6 +330,7 @@ install: all manpages $(PMDA_INSTALL) ${INSTALLCMD} -m 644 include/ctdb_protocol.h $(DESTDIR)$(includedir) ${INSTALLCMD} -m 644 include/ctdb_private.h $(DESTDIR)$(includedir) # for samba3 ${INSTALLCMD} -m 644 include/ctdb_typesafe_cb.h $(DESTDIR)$(includedir) + ${INSTALLCMD} -m 440 config/ctdb.sudoers $(DESTDIR)$(etcdir)/sudoers.d/ctdb ${INSTALLCMD} -m 644 config/functions $(DESTDIR)$(etcdir)/ctdb ${INSTALLCMD} -m 755 config/statd-callout $(DESTDIR)$(etcdir)/ctdb ${INSTALLCMD} -m 644 README $(DESTDIR)$(docdir)/ctdb/README |