diff --git a/WHATS_NEW b/WHATS_NEW index b3c29a8a7..c0e43d8c6 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.01.05 - =================================== + Make clvmd config check a little more tolerant. Version 2.01.04 - 9th February 2005 =================================== diff --git a/daemons/clvmd/lvm-functions.c b/daemons/clvmd/lvm-functions.c index 61bb084ff..3052063b8 100644 --- a/daemons/clvmd/lvm-functions.c +++ b/daemons/clvmd/lvm-functions.c @@ -449,11 +449,11 @@ static void check_config() return; if (locking_type == 2) { /* External library, check name */ - char *libname; + const char *libname; libname = find_config_str(cmd->cft->root, "global/locking_library", ""); - if (!strcmp(libname, "liblvm2clusterlock.so")) + if (strstr(libname, "liblvm2clusterlock.so")) return; log_error("Incorrect LVM locking library specified in lvm.conf, cluster operations may not work.");