The validate action of the MySQL OCF resource agent currently checks /
etc/passwd for the MySQL test user. This doesn't make much sense, as
the test user is internal to MySQL.
Thus, please consider the following patch:
--- mysql.orig 2007-11-28 01:21:54.245785953 +0100
+++ mysql 2007-11-28 01:22:11.776050393 +0100
@@ -199,12 +199,6 @@
exit $OCF_ERR_ARGS;
fi
- getent passwd $OCF_RESKEY_test_user >/dev/null 2>&1
- if [ ! $? -eq 0 ]; then
- ocf_log err "Test user $OCF_RESKEY_test_user doesn't exit";
- exit $OCF_ERR_ARGS;
- fi
-
getent group $OCF_RESKEY_group >/dev/null 2>&1
if [ ! $? -eq 0 ]; then
ocf_log err "Group $OCF_RESKEY_group doesn't exist";
Regards
Christian Rishøj
e: [EMAIL PROTECTED]
m: +45 6130 0669
a: skindergade 34
apartment 17
dk-1159 copenhagen k
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems