FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-19-2010, 11:57 AM
Hans de Goede
 
Default Reset vg blacklist when initializing storage

This avoids the following problem:
1) take a system with duplicate vgs
2) select atleast 1 disk belonging to either vg in the filter UI
3) next
4) Choose to ignore the duplicate vgs the vg name they share now gets
added to the vg blacklist
5) realize you got this question because you selected the wrong disks
6) go back to the filter ui, select disks of 1 vg only
7) next
8) the vg name is still in the vg blacklist
---
storage/__init__.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index a5366b0..abe5e0f 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -95,6 +95,7 @@ def storageInitialize(anaconda):

anaconda.intf.resetInitializeDiskQuestion()
anaconda.intf.resetReinitInconsistentLVMQuestion()
+ lvm.lvm_vg_blacklist = []

# Set up the protected partitions list now.
if anaconda.protected:
--
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-19-2010, 02:03 PM
Ales Kozumplik
 
Default Reset vg blacklist when initializing storage

On 05/19/2010 01:57 PM, Hans de Goede wrote:

This avoids the following problem:
1) take a system with duplicate vgs
2) select atleast 1 disk belonging to either vg in the filter UI
3) next
4) Choose to ignore the duplicate vgs the vg name they share now gets
added to the vg blacklist
5) realize you got this question because you selected the wrong disks
6) go back to the filter ui, select disks of 1 vg only
7) next
8) the vg name is still in the vg blacklist
---
storage/__init__.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index a5366b0..abe5e0f 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -95,6 +95,7 @@ def storageInitialize(anaconda):

anaconda.intf.resetInitializeDiskQuestion()
anaconda.intf.resetReinitInconsistentLVMQuestion()
+ lvm.lvm_vg_blacklist = []

# Set up the protected partitions list now.
if anaconda.protected:


Ack.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org