| 1 | Fixes <https://issues.guix.gnu.org/65177>.
|
| 2 |
|
| 3 | Run 'vgchange' directly instead of attempting to run it via 'systemd-run' as
|
| 4 | the udev rules included in lvm2 >= 2.03.14 do.
|
| 5 |
|
| 6 | diff --git a/udev/69-dm-lvm.rules.in b/udev/69-dm-lvm.rules.in
|
| 7 | index ff1568145..8879a2ef9 100644
|
| 8 | |
| 9 | |
| 10 | @@ -76,7 +76,7 @@ LABEL="lvm_scan"
|
| 11 | # it's better suited to appearing in the journal.
|
| 12 |
|
| 13 | IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}"
|
| 14 | -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}"
|
| 15 | +ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
|
| 16 | GOTO="lvm_end"
|
| 17 |
|
| 18 | LABEL="lvm_end"
|