Dejan,
BasicSanityCheck fails by the permission test of RA
because ocf-tester returns an error at below (line 175)
if nobody user was not allowed to login.
su nobody $agent $action > /dev/null
[EMAIL PROTECTED] su nobody /usr/lib/ocf/resource.d/heartbeat/Dummy meta-data
This account is currently not available.
[EMAIL PROTECTED] grep nobody /etc/passwd
nobody:x:99:99:Nobody:/:/sbin/nologin
How about to use the hacluster user instead as attached?
Thanks,
--
Keisuke MORI
NTT DATA Intellilink Corporation
diff -r a8b2fc037b29 tools/ocf-tester.in
--- a/tools/ocf-tester.in Thu Jul 17 17:01:29 2008 +0900
+++ b/tools/ocf-tester.in Tue Jul 29 19:58:04 2008 +0900
@@ -168,11 +168,11 @@ lrm_test_command() {
test_permissions() {
action=meta-data
- msg=${1:-"Testing permissions with uid nobody"}
+ msg=${1:-"Testing permissions with uid @HA_CCMUSER@"}
if [ $verbose -ne 0 ]; then
echo $msg
fi
- su nobody $agent $action > /dev/null
+ su @HA_CCMUSER@ $agent $action > /dev/null
}
test_metadata() {
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/