diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-31 21:28:43 +0100 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-31 22:15:33 +0100 |
commit | 3991d9e4d9867ec499283bfc71b34d7bfebe49b3 (patch) | |
tree | d62d2fbcce0fac02cc6934cbdf32c86c8afbc740 /gnu/packages/patches | |
parent | b963bf6b1debe0f73c5d88452fa23a3954fc3cad (diff) | |
download | guix-3991d9e4d9867ec499283bfc71b34d7bfebe49b3.tar.gz guix-3991d9e4d9867ec499283bfc71b34d7bfebe49b3.zip |
Revert "gnu: lvm2: Remove systemd rule."
This reverts commit c0895371c5759c7d9edb330774e90f192cc4cf2c, which does not
correctly fix the issue, as reported by Josselin Poiret <dev@jpoiret.xyz> in
<https://issues.guix.gnu.org/issue/66586#6>.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/lvm2-no-systemd.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gnu/packages/patches/lvm2-no-systemd.patch b/gnu/packages/patches/lvm2-no-systemd.patch deleted file mode 100644 index 440559b96d..0000000000 --- a/gnu/packages/patches/lvm2-no-systemd.patch +++ /dev/null @@ -1,20 +0,0 @@ -Fixes <https://issues.guix.gnu.org/65177>. - -Run 'vgchange' directly instead of attempting to run it via 'systemd-run' as -the udev rules included in lvm2 >= 2.03.14 do. - -diff --git a/udev/69-dm-lvm.rules.in b/udev/69-dm-lvm.rules.in -index ff15681..f9e5b70 100644 ---- a/udev/69-dm-lvm.rules.in -+++ b/udev/69-dm-lvm.rules.in -@@ -75,8 +75,8 @@ LABEL="lvm_scan" - # TODO: adjust the output of vgchange -aay so that - # it's better suited to appearing in the journal. - --IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}" --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}" -+IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg -+ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(SYSTEMDRUN) --no-block lvm-activate-$env{LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay - GOTO="lvm_end" - - LABEL="lvm_end" |