Accepting request 742107 from Base:System

OBS-URL: https://build.opensuse.org/request/show/742107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=129
This commit is contained in:
Dominique Leuenberger 2019-10-28 15:44:05 +00:00 committed by Git OBS Bridge
commit 8add1bb704
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,34 @@
From 125f27ac37bc9b93cc96f64052b9681b3d479ee1 Mon Sep 17 00:00:00 2001
From: Peter Rajnoha <prajnoha@redhat.com>
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.21.0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 23 08:42:00 UTC 2019 - heming.zhao@suse.com
- Fix udev rules issue (bsc#1154655)
+ bug-1154655_udev-remove-unsupported-OPTIONS-event_timeout-rule.patch
-------------------------------------------------------------------
Mon Oct 21 07:59:33 UTC 2019 - heming.zhao@suse.com

View File

@ -61,6 +61,7 @@ Patch0003: bug-1149408_vgcreate-vgextend-restrict-PVs-with-mixed-block-size
Patch0004: bug-1152378-md-component-detection-for-differing-PV-and-device-s.patch
Patch0005: bug-1152378-pvscan-fix-PV-online-when-device-has-a-different-siz.patch
Patch0006: jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch
Patch0007: bug-1154655_udev-remove-unsupported-OPTIONS-event_timeout-rule.patch
# SUSE patches: 1000+ for LVM
# Never upstream
Patch1001: cmirrord_remove_date_time_from_compilation.patch
@ -121,6 +122,7 @@ Volume Manager.
%patch0004 -p1
%patch0005 -p1
%patch0006 -p1
%patch0007 -p1
%patch1001 -p1
%patch1002 -p1
%patch1003 -p1