Package: evms Severity: important Tags: patch
Hi, as mentioned in the mail from Kevin Corry http://marc.theaimsgroup.com/?l=evms-devel&m=113086356214704&w=2 evms is misinterpreting one of the fields in the "new" dm-multipath table format. I've included his patch to this report - please apply it. Thank you, Bernd -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11.12-grsec-fix1 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
In the "new" dm-multipath table format, the number of hardware-handler arguments also includes the name of the hardware handler. Apply with: cd /usr/src/evms-2.5.3 patch -p1 < dm-targets.c.patch make make install --- evms-2.5.3a/engine/dm-targets.c 25 May 2005 22:16:42 -0000 +++ evms-2.5.3b/engine/dm-targets.c 1 Nov 2005 16:02:59 -0000 @@ -1301,9 +1301,6 @@ } params = next_token(params); - if (num != 0) { - params = next_token(params); - } for (i = 0; i < num; i++) { params = next_token(params); } @@ -1486,9 +1483,6 @@ } params = next_token(params); - if (num != 0) { - params = next_token(params); - } for (i = 0; i < num; i++) { params = next_token(params); }