1 |
commit: fed0e418dfcf0de536820fcb24546c2544a4a89c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 27 16:02:31 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 16:02:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fed0e418 |
7 |
|
8 |
sys-fs/lvm2: Revbump to fix unsupported udev option |
9 |
|
10 |
Closes: https://bugs.gentoo.org/700160 |
11 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
...2-2.02.186-udev_remove_unsupported_option.patch | 34 ++++++++++++++++++++++ |
15 |
...-2.02.186-r1.ebuild => lvm2-2.02.186-r2.ebuild} | 1 + |
16 |
2 files changed, 35 insertions(+) |
17 |
|
18 |
diff --git a/sys-fs/lvm2/files/lvm2-2.02.186-udev_remove_unsupported_option.patch b/sys-fs/lvm2/files/lvm2-2.02.186-udev_remove_unsupported_option.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..f895e1921e0 |
21 |
--- /dev/null |
22 |
+++ b/sys-fs/lvm2/files/lvm2-2.02.186-udev_remove_unsupported_option.patch |
23 |
@@ -0,0 +1,34 @@ |
24 |
+From f98f79a047dd1c4980008e0ed6c9ad4e18596cdc Mon Sep 17 00:00:00 2001 |
25 |
+From: Peter Rajnoha <prajnoha@××××××.com> |
26 |
+Date: Tue, 13 Aug 2019 15:18:30 +0200 |
27 |
+Subject: [PATCH] udev: remove unsupported OPTIONS+="event_timeout" rule |
28 |
+ |
29 |
+The OPTIONS+="event_timeout" is Unsupported since systemd/udev version 216, |
30 |
+that is ~5 years ago. |
31 |
+ |
32 |
+Since systemd/udev version 243, there's a new message printed if unsupported |
33 |
+OPTIONS value is used: |
34 |
+ |
35 |
+ Invalid value for OPTIONS key, ignoring: 'event_timeout=180' |
36 |
+ |
37 |
+Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1740666 |
38 |
+--- |
39 |
+ udev/11-dm-lvm.rules.in | 2 -- |
40 |
+ 1 file changed, 2 deletions(-) |
41 |
+ |
42 |
+diff --git a/udev/11-dm-lvm.rules.in b/udev/11-dm-lvm.rules.in |
43 |
+index 91cb991df9..7c589943b7 100644 |
44 |
+--- a/udev/11-dm-lvm.rules.in |
45 |
++++ b/udev/11-dm-lvm.rules.in |
46 |
+@@ -37,8 +37,6 @@ ENV{DM_SUBSYSTEM_UDEV_FLAG0}!="1", ENV{DM_NOSCAN}=="1", ENV{DM_UDEV_DISABLE_OTHE |
47 |
+ |
48 |
+ ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=="1", GOTO="lvm_end" |
49 |
+ |
50 |
+-OPTIONS+="event_timeout=180" |
51 |
+- |
52 |
+ # Do not create symlinks for inappropriate subdevices. |
53 |
+ ENV{DM_LV_NAME}=="pvmove?*|?*_vorigin", GOTO="lvm_disable" |
54 |
+ ENV{DM_LV_LAYER}=="?*", GOTO="lvm_disable" |
55 |
+-- |
56 |
+2.24.0 |
57 |
+ |
58 |
|
59 |
diff --git a/sys-fs/lvm2/lvm2-2.02.186-r1.ebuild b/sys-fs/lvm2/lvm2-2.02.186-r2.ebuild |
60 |
similarity index 99% |
61 |
rename from sys-fs/lvm2/lvm2-2.02.186-r1.ebuild |
62 |
rename to sys-fs/lvm2/lvm2-2.02.186-r2.ebuild |
63 |
index ec678f7044b..759415d9d98 100644 |
64 |
--- a/sys-fs/lvm2/lvm2-2.02.186-r1.ebuild |
65 |
+++ b/sys-fs/lvm2/lvm2-2.02.186-r2.ebuild |
66 |
@@ -70,6 +70,7 @@ PATCHES=( |
67 |
"${FILESDIR}"/${PN}-2.02.184-dmeventd-no-idle-exit.patch |
68 |
#"${FILESDIR}"/${PN}-2.02.184-allow-reading-metadata-with-invalid-creation_time.patch #682380 # merged upstream |
69 |
"${FILESDIR}"/${PN}-2.02.184-mksh_build.patch #686652 |
70 |
+ "${FILESDIR}"/${PN}-2.02.186-udev_remove_unsupported_option.patch #700160 |
71 |
) |
72 |
|
73 |
pkg_setup() { |