[PATCH rhel7-branch] network: detect also fcoe vlan device names exceeding IFNAMESIZ (#1051268)

Radek Vykydal rvykydal at redhat.com
Tue Feb 25 14:42:09 UTC 2014


Related: rhbz#1051268
---
 pyanaconda/ui/gui/spokes/network.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index c7c6ce1..cb0c2d9 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -656,7 +656,8 @@ class NetworkControlBox(GObject.GObject):
         if device.get_device_type() not in self.supported_device_types:
             return
         # ignore fcoe vlan devices
-        if device.get_iface().endswith('fcoe'):
+        # (can be chopped off to IFNAMSIZ kernel limit)
+        if device.get_iface().endswith(('-fcoe', '-fco', '-fc', '-f', '-')):
             return
 
         try:
-- 
1.7.11.7



More information about the anaconda-patches mailing list