lvm2/lvm2-2.02.114-udevadm_fix_path.patch

12 lines
583 B
Diff

--- LVM2.2.02.114/scripts/lvm2_activation_generator_systemd_red_hat.c.orig 2015-01-17 18:51:54.492204036 +0100
+++ LVM2.2.02.114/scripts/lvm2_activation_generator_systemd_red_hat.c 2015-01-17 18:52:07.022203336 +0100
@@ -137,7 +137,7 @@
fprintf(f, "After=%s iscsi.service fcoe.service\n"
"Before=remote-fs.target shutdown.target\n\n"
"[Service]\n"
- "ExecStartPre=/usr/bin/udevadm settle\n", unit_names[UNIT_MAIN]);
+ "ExecStartPre=/bin/udevadm settle\n", unit_names[UNIT_MAIN]);
} else {
if (unit == UNIT_EARLY) {
fputs("After=systemd-udev-settle.service\n"