1
0

lvm2-2.03.20-dm_lvm_rules_no_systemd.patch 673 B

1234567891011
  1. --- a/udev/69-dm-lvm.rules.in
  2. +++ b/udev/69-dm-lvm.rules.in
  3. @@ -76,7 +76,7 @@
  4. # it's better suited to appearing in the journal.
  5. IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}"
  6. -ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(SYSTEMDRUN) --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
  7. +ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --nohints --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
  8. GOTO="lvm_end"
  9. LABEL="lvm_end"