guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Revert "gnu: lvm2: Remove systemd rule."


From: guix-commits
Subject: branch master updated: Revert "gnu: lvm2: Remove systemd rule."
Date: Tue, 31 Oct 2023 17:27:45 -0400

This is an automated email from the git hooks/post-receive script.

zimoun pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 3991d9e4d9 Revert "gnu: lvm2: Remove systemd rule."
3991d9e4d9 is described below

commit 3991d9e4d9867ec499283bfc71b34d7bfebe49b3
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Tue Oct 31 21:28:43 2023 +0100

    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>.
---
 gnu/local.mk                               |  1 -
 gnu/packages/linux.scm                     |  1 -
 gnu/packages/patches/lvm2-no-systemd.patch | 20 --------------------
 3 files changed, 22 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 27e57302ae..8d817379a7 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1629,7 +1629,6 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/mcrypt-CVE-2012-4527.patch                      \
   %D%/packages/patches/libmemcached-build-with-gcc7.patch      \
   %D%/packages/patches/libmhash-hmac-fix-uaf.patch             \
-  %D%/packages/patches/lvm2-no-systemd.patch                   \
   %D%/packages/patches/maturin-no-cross-compile.patch          \
   %D%/packages/patches/mecab-variable-param.patch              \
   %D%/packages/patches/memtest86+-build-reproducibly.patch     \
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 6abdb23958..7a9f357681 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4494,7 +4494,6 @@ one to send arbitrary keycodes when a given key is tapped 
or held.")
               (sha256
                (base32
                 "0z6w6bknhwh1n3qfkb5ij6x57q3wjf28lq3l8kh7rkhsplinjnjc"))
-              (patches (search-patches "lvm2-no-systemd.patch"))
               (modules '((guix build utils)))
               (snippet
                '(begin
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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]