From 90900723ea64c0ec4b1d8c2d9611009fa1304278c2f15a5ade0e48ee1ccc6c33 Mon Sep 17 00:00:00 2001
From: Gang He <ghe@suse.com>
Date: Tue, 29 May 2018 03:23:47 +0000
Subject: [PATCH] Accepting request 612714 from
 home:ganghe:branches:openSUSE:Factory

- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)
- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)
- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)

OBS-URL: https://build.opensuse.org/request/show/612714
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=223
---
 device-mapper.changes | 6 ++++++
 lvm.conf              | 2 +-
 lvm2-clvm.changes     | 6 ++++++
 lvm2.changes          | 6 ++++++
 4 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/device-mapper.changes b/device-mapper.changes
index fb345cc..8484708 100644
--- a/device-mapper.changes
+++ b/device-mapper.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue May 29 10:45:30 UTC 2018 - ghe@suse.com
+
+- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
+  (bsc#1081530)
+
 -------------------------------------------------------------------
 Thu Apr 19 10:59:59 UTC 2018 - mwilck@suse.com
 
diff --git a/lvm.conf b/lvm.conf
index 90d9dc5..960c885 100644
--- a/lvm.conf
+++ b/lvm.conf
@@ -140,7 +140,7 @@ devices {
 	# 
 	# This configuration option has an automatic default value.
 	# filter = [ "a|.*/|" ]
-	filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "r|/dev/fd.*|", "r|/dev/   cdrom|", "a/.*/" ]
+	filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "r|/dev/fd.*|", "r|/dev/cdrom|", "a/.*/" ]
 
 	# Configuration option devices/global_filter.
 	# Limit the block devices that are used by LVM system components.
diff --git a/lvm2-clvm.changes b/lvm2-clvm.changes
index fb345cc..8484708 100644
--- a/lvm2-clvm.changes
+++ b/lvm2-clvm.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue May 29 10:45:30 UTC 2018 - ghe@suse.com
+
+- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
+  (bsc#1081530)
+
 -------------------------------------------------------------------
 Thu Apr 19 10:59:59 UTC 2018 - mwilck@suse.com
 
diff --git a/lvm2.changes b/lvm2.changes
index fb345cc..8484708 100644
--- a/lvm2.changes
+++ b/lvm2.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue May 29 10:45:30 UTC 2018 - ghe@suse.com
+
+- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
+  (bsc#1081530)
+
 -------------------------------------------------------------------
 Thu Apr 19 10:59:59 UTC 2018 - mwilck@suse.com