unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob f786cd970516fd8e64cc2cff4d03c5d510318404 994 bytes (raw)
name: gnu/packages/patches/lvm2-no-systemd.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
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..d3cc125 100644
--- a/udev/69-dm-lvm.rules.in
+++ b/udev/69-dm-lvm.rules.in
@@ -75,8 +75,7 @@ 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}"
+ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}"
 GOTO="lvm_end"
 
 LABEL="lvm_end"

debug log:

solving f786cd9705 ...
found f786cd9705 in https://yhetil.org/guix-patches/bb0f31205d14de6a84a205c5cd466deefbf74e7a.1698790161.git.zimon.toutoune@gmail.com/

applying [1/1] https://yhetil.org/guix-patches/bb0f31205d14de6a84a205c5cd466deefbf74e7a.1698790161.git.zimon.toutoune@gmail.com/
diff --git a/gnu/packages/patches/lvm2-no-systemd.patch b/gnu/packages/patches/lvm2-no-systemd.patch
new file mode 100644
index 0000000000..f786cd9705

1:19: trailing whitespace.
 
1:24: trailing whitespace.
 
Checking patch gnu/packages/patches/lvm2-no-systemd.patch...
Applied patch gnu/packages/patches/lvm2-no-systemd.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 f786cd970516fd8e64cc2cff4d03c5d510318404	gnu/packages/patches/lvm2-no-systemd.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).