commit:     fed0e418dfcf0de536820fcb24546c2544a4a89c
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 16:02:31 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 16:02:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fed0e418

sys-fs/lvm2: Revbump to fix unsupported udev option

Closes: https://bugs.gentoo.org/700160
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 ...2-2.02.186-udev_remove_unsupported_option.patch | 34 ++++++++++++++++++++++
 ...-2.02.186-r1.ebuild => lvm2-2.02.186-r2.ebuild} |  1 +
 2 files changed, 35 insertions(+)

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
new file mode 100644
index 00000000000..f895e1921e0
--- /dev/null
+++ b/sys-fs/lvm2/files/lvm2-2.02.186-udev_remove_unsupported_option.patch
@@ -0,0 +1,34 @@
+From f98f79a047dd1c4980008e0ed6c9ad4e18596cdc Mon Sep 17 00:00:00 2001
+From: Peter Rajnoha <[email protected]>
+Date: Tue, 13 Aug 2019 15:18:30 +0200
+Subject: [PATCH] udev: remove unsupported OPTIONS+="event_timeout" rule
+
+The OPTIONS+="event_timeout" is Unsupported since systemd/udev version 216,
+that is ~5 years ago.
+
+Since systemd/udev version 243, there's a new message printed if unsupported
+OPTIONS value is used:
+
+  Invalid value for OPTIONS key, ignoring: 'event_timeout=180'
+
+Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1740666
+---
+ udev/11-dm-lvm.rules.in | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/udev/11-dm-lvm.rules.in b/udev/11-dm-lvm.rules.in
+index 91cb991df9..7c589943b7 100644
+--- a/udev/11-dm-lvm.rules.in
++++ b/udev/11-dm-lvm.rules.in
+@@ -37,8 +37,6 @@ ENV{DM_SUBSYSTEM_UDEV_FLAG0}!="1", ENV{DM_NOSCAN}=="1", 
ENV{DM_UDEV_DISABLE_OTHE
+ 
+ ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=="1", GOTO="lvm_end"
+ 
+-OPTIONS+="event_timeout=180"
+-
+ # Do not create symlinks for inappropriate subdevices.
+ ENV{DM_LV_NAME}=="pvmove?*|?*_vorigin", GOTO="lvm_disable"
+ ENV{DM_LV_LAYER}=="?*", GOTO="lvm_disable"
+-- 
+2.24.0
+

diff --git a/sys-fs/lvm2/lvm2-2.02.186-r1.ebuild 
b/sys-fs/lvm2/lvm2-2.02.186-r2.ebuild
similarity index 99%
rename from sys-fs/lvm2/lvm2-2.02.186-r1.ebuild
rename to sys-fs/lvm2/lvm2-2.02.186-r2.ebuild
index ec678f7044b..759415d9d98 100644
--- a/sys-fs/lvm2/lvm2-2.02.186-r1.ebuild
+++ b/sys-fs/lvm2/lvm2-2.02.186-r2.ebuild
@@ -70,6 +70,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.02.184-dmeventd-no-idle-exit.patch
        
#"${FILESDIR}"/${PN}-2.02.184-allow-reading-metadata-with-invalid-creation_time.patch
 #682380 # merged upstream
        "${FILESDIR}"/${PN}-2.02.184-mksh_build.patch #686652
+       "${FILESDIR}"/${PN}-2.02.186-udev_remove_unsupported_option.patch 
#700160
 )
 
 pkg_setup() {

Reply via email to