What | Removed | Added |
---|---|---|
CC | aspiers@suse.com |
I saw this after live upgrade from openSUSE 13.1 to 13.2. It was caused by an openvswitch bridge I had configured. I hacked this ugly patch which seemed to fix it. --- /usr/share/YaST2/modules/LanItems.rb.dist 2015-07-28 16:07:46.370730125 +0100 +++ /usr/share/YaST2/modules/LanItems.rb 2015-07-28 17:18:59.258544130 +0100 @@ -1331,7 +1331,11 @@ if !ifcfg_name.empty? NetworkInterfaces.Select(ifcfg_name) - ifcfg_desc = GetDeviceMap(key)["NAME"] + dm = GetDeviceMap(key) + unless dm + Builtins.y2error("Failed to get device map for #{key}, if #{ifcfg_name}") + end + ifcfg_desc = dm ? dm["NAME"] : nil descr = ifcfg_desc if !ifcfg_desc.nil? && !ifcfg_desc.empty? descr = CheckEmptyName(@type, descr) ip = DeviceProtocol(NetworkInterfaces.Current)