https://bugzilla.novell.com/show_bug.cgi?id=853998 https://bugzilla.novell.com/show_bug.cgi?id=853998#c0 Summary: Yast network setup + firewall for bridge devices broken Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: yast2-maintainers@suse.de ReportedBy: neko@it4u.lv QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20100101 Firefox/16.0 Yast fails to read/display existing (created manually on via yast) network bridge device configuration --------------------- cat /etc/sysconfig/network/ifcfg-br0 : BOOTPROTO='static' BRIDGE='yes' BRIDGE_FORWARDDELAY='0' BRIDGE_PORTS='enp1s8 wls2 tap0' BRIDGE_STP='off' IPADDR='192.168.13.254/24' STARTMODE='auto' USERCONTROL='no' NAME='br0' -------- y2log : 2013-12-05 22:57:48 <2> scrat(16496) [Ruby] modules/NetworkInterfaces.rb:450 Do not use device_num. 2013-12-05 22:57:48 <2> scrat(16496) [Ruby] modules/NetworkInterfaces.rb:450 Do not use device_num. 2013-12-05 22:57:48 <2> scrat(16496) [Ruby] modules/NetworkInterfaces.rb:450 Do not use device_num. 2013-12-05 22:57:49 <1> scrat(16496) [Ruby] yast/ops.rb:62 Index 0 is out of array size 2013-12-05 22:57:49 <3> scrat(16496) [Ruby] modules/NetworkInterfaces.rb:1313 Unknown type: 2013-12-05 22:57:49 <3> scrat(16496) [Ruby] network/complex.rb:268 Unknown type: 2013-12-05 22:57:49 <3> scrat(16496) [Ruby] modules/NetworkInterfaces.rb:1468 No such device: br0 2013-12-05 22:57:49 <1> scrt(16496) [Ruby] network/complex.rb:291 hwname= 2013-12-05 22:57:49 <1> scrt(16496) [Ruby] network/complex.rb:291 hwname= 2013-12-05 22:57:49 <1> scrt(16496) [Ruby] network/complex.rb:291 hwname= 2013-12-05 22:57:49 <3> scrt(16496) [Ruby] modules/NetworkInterfaces.rb:1313 Unknown type: bridge 2013-12-05 22:57:49 <2> scrt(16496) [Ruby] modules/NetworkInterfaces.rb:450 Do not use device_num. as result in Yast GUI all settings for bridge device are missing and device type is shown as "ACRnet" type device with name "bridge". --------- + same problem with firewall module (attempt to assign firewall zone crashes module) 2013-12-05 23:06:46 <1> scrt(16637) [Ruby] modules/SuSEFirewall.rb:1433 Checking firewall status... 2013-12-05 23:06:46 <1> scrt(16637) [Ruby] modules/SuSEFirewall.rb:1435 Firewall service is started 2013-12-05 23:06:51 <1> scrt(16637) [Ruby] firewall/uifunctions.rb:1510 Enable firewall status preserved (enable=true) 2013-12-05 23:06:51 <3> scrt(16637) [Ruby] modules/NetworkInterfaces.rb:1468 No such device: br0 2013-12-05 23:06:52 <1> scrt(16637) [Ruby] yast/ops.rb:62 Index 0 is out of array size 2013-12-05 23:06:52 <3> scrt(16637) [Ruby] modules/NetworkInterfaces.rb:1468 No such device: br0 2013-12-05 23:06:59 <3> scrt(16637) [libycp] firewall/uifunctions.rb:303 Invalid arguments for the Label widget: `Label (nil) 2013-12-05 23:06:59 <2> scrt(16637) [ui] YCPDialogParser.cc(parseLabel):1213 THROW: Invalid arguments for the Label widget 2013-12-05 23:06:59 <2> scrt(16637) [ui] YCP_UI.cc(OpenDialog):585 CAUGHT: Invalid arguments for the Label widget 2013-12-05 23:06:59 <3> scrt(16637) [libycp] firewall/uifunctions.rb:303 UI::OpenDialog() failed 2013-12-05 23:06:59 <1> scrt(16637) [ui] YPushButton.cc(setFunctionKey):188 Guessing button role YOKButton for YPushButton "Close" at 0xb4ea8890 from function key F10 2013-12-05 23:07:11 <2> scrt(16637) [Ruby] yast/convert.rb:54 Cannot convert Symbol from 'any' to 'string' 2013-12-05 23:07:12 <2> scrt(16637) [ui] YWidget.cc(findWidget):632 THROW: No widget with ID "table_firewall_interfaces" 2013-12-05 23:07:12 <2> scrt(16637) [ui] YCP_UI.cc(QueryWidget):779 CAUGHT: No widget with ID "table_firewall_interfaces" 2013-12-05 23:07:12 <3> scrt(16637) [libycp] firewall/uifunctions.rb:426 UI::QueryWidget failed: UI::QueryWidget( `id ("table_firewall_interfaces"), `CurrentItem ) Problem affects yast only, after manual configuration editing system runs as expect. Reproducible: Always Steps to Reproduce: 1a. create bridge device configuration in /etc/sysconfig/network or 1b. create bridge via yast - Network Devices 2. try to edit this configuration via yast - Network Devices 3. try assign firewall zone in Firewall module Actual Results: any exiting bridge device configuration a) can't be edited via yast b) crashes firewall module looks like source of problem is Ryby module: modules/NetworkInterfaces.rb -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.