From 1f32fe0bbafff455e712d5646732324a8c4f3ea8 Mon Sep 17 00:00:00 2001 From: David Lehman Date: Fri, 6 Mar 2015 12:55:24 -0600 Subject: [PATCH 15/19] Ignore temporary cryptsetup devices. It would be nice to find a better way to identify these, but this will do for the time being. --- blivet/handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blivet/handler.py b/blivet/handler.py index 2cdda7f..6c4a4d9 100644 --- a/blivet/handler.py +++ b/blivet/handler.py @@ -449,6 +449,9 @@ class EventHandler(object): # It will get set/updated in _notifyDevice or below that call in this # method. name = udev.device_get_name(info) + if name.startswith("temporary-cryptsetup-"): + return + device = self.devicetree.getDeviceByName(name, hidden=True) if device and device.exists: device.sysfsPath = sysfs_path -- 1.9.3