mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
These resource agents are used by two cluster resource management implementations: - Pacemaker - rgmanager More information about OCF resource agents is available in the OCF Resource Agent Developer's guide, in the doc/dev-guides subdirectory. WWW: http://www.linux-ha.org/wiki/Resource_agents PR: 209005 Submitted by: David Shane Holden <dpejesh@yahoo.com>
11 lines
344 B
Text
11 lines
344 B
Text
--- tools/ocf-tester.in.orig 2016-04-05 14:11:59 UTC
|
|
+++ tools/ocf-tester.in
|
|
@@ -216,7 +216,7 @@ lrm_test_command() {
|
|
test_permissions() {
|
|
action=meta-data
|
|
debug ${1:-"Testing permissions with uid nobody"}
|
|
- su nobody -s /bin/sh $agent $action > /dev/null
|
|
+ su -m nobody -c "$agent $action" > /dev/null
|
|
}
|
|
|
|
test_metadata() {
|