Chun Tian (binghe) wrote:
mysql ocf script also check the OCF_RESKEY_test_user in /etc/passwd:grep $OCF_RESKEY_test_user /etc/passwd >/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 I dont's think this is correct because MySQL user and system user are different object.
of course you are right - i too noticed that but thought it was that way on purpose. i simply changed the grep to use other "database sources" as well. if no1 objects, and there is no problem in "breaking" the script that way, i would gladly remove that check :) cheers, raoul -- ____________________________________________________________________ DI (FH) Raoul Bhatia M.Sc. email. [EMAIL PROTECTED] Technischer Leiter IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at Barawitzkagasse 10/2/2/11 email. [EMAIL PROTECTED] 1190 Wien tel. +43 1 3670030 FN 277995t HG Wien fax. +43 1 3670030 15 ____________________________________________________________________ _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
