Version 2.02.101 -
===================================
+ Use LVM_PATH instead of hardcoded value in lvm2 activation systemd generator.
Refresh existing VG before autoactivation (event retrigger/device reappeared).
Fix vgck to notice on-disk corruption even if lvmetad is used.
Move mpath device filter before partitioned filter (which opens devices).
#include <fcntl.h>
#include <limits.h> /* For PATH_MAX for musl libc */
#include "lvm2app.h"
+#include "configure.h" /* for LVM_PATH */
#define KMSG_DEV_PATH "/dev/kmsg"
#define LVM_CONF_USE_LVMETAD "global/use_lvmetad"
"[Service]\n", f);
}
- fputs("ExecStart=/usr/sbin/lvm vgchange -aay --sysinit\n"
+ fputs("ExecStart=" LVM_PATH " vgchange -aay --sysinit\n"
"Type=oneshot\n", f);
if (fclose(f) < 0) {