[Bug 855568] New: [PATCH] yast-bootloader: "undefined method `split' for true:TrueClass" with grub2-efi
https://bugzilla.novell.com/show_bug.cgi?id=855568 https://bugzilla.novell.com/show_bug.cgi?id=855568#c0 Summary: [PATCH] yast-bootloader: "undefined method `split' for true:TrueClass" with grub2-efi Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: x86-64 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: yast2-maintainers@suse.de ReportedBy: lpechacek@suse.com QAContact: jsrain@suse.com Found By: Development Blocker: --- Created an attachment (id=571889) --> (http://bugzilla.novell.com/attachment.cgi?id=571889) proposed patch Start yast bootloader, choose Boot Loader Options (bootloader type GRUB2-EFI, secure boot enabled), change VGA mode to any value and confirm the changes. YaST reports "undefined method `split' for true:TrueClass" and changes are lost. This is the log snippet: ... 2013-12-13 23:01:04 <2> linux(28697) [Ruby] modules/Initrd.rb:422 Probing VGA modes failed, using fallback list 2013-12-13 23:01:09 <1> linux(28697) [Ruby] routines/lib_iface.rb:348 Updating append: resume=/dev/disk/by-uuid/f39c722f-2c86-4766-a5d4-4cd4f0dbadf1 splash=si lent quiet showopts with console: 2013-12-13 23:01:09 <1> linux(28697) [Ruby] routines/misc.rb:2110 updated_append,console_value: true 2013-12-13 23:01:09 <1> linux(28697) [Ruby] routines/dialogs.rb:75 Running Main Dialog 2013-12-13 23:01:09 <1> linux(28697) [Ruby] routines/misc.rb:1933 Boot device - disk: /dev/sda 2013-12-13 23:01:09 <1> linux(28697) [Ruby] modules/BootCommon.rb:1121 Set secure boot: true => true 2013-12-13 23:01:09 <1> linux(28697) [Ruby] modules/Bootloader.rb:381 Writing bootloader configuration 2013-12-13 23:01:09 <1> linux(28697) [Ruby] modules/Progress.rb:429 Progress::New(Saving Boot Loader Configuration, 2, ["Create initrd", "Save boot loader conf iguration files", "Install boot loader"]) 2013-12-13 23:01:09 <2> linux(28697) [Ruby] modules/Progress.rb:445 Number of stages (3) is greater than number of steps (2) 2013-12-13 23:01:09 <1> linux(28697) [Ruby] modules/Progress.rb:517 No progress icons defined 2013-12-13 23:01:09 <1> linux(28697) [Ruby] modules/Bootloader.rb:1082 name of default section: openSUSE 13.1 2013-12-13 23:01:09 <1> linux(28697) [Ruby] modules/Bootloader.rb:469 No bootloader cfg. file saving needed, exiting 2013-12-13 23:01:09 <1> linux(28697) [Ruby] modules/Bootloader.rb:481 Saving configuration files 2013-12-13 23:01:09 <1> linux(28697) [Ruby] routines/misc.rb:1933 Boot device - disk: /dev/sda 2013-12-13 23:01:09 <1> linux(28697) [Ruby] modules/Bootloader.rb:522 Reinitialize bootloader library before saving: false 2013-12-13 23:01:09 <1> linux(28697) [Ruby] routines/lilolike.rb:1101 UpdateKernelParams: true 2013-12-13 23:01:09 <3> linux(28697) [Ruby] yast/wfm.rb:197 Client call failed with 'undefined method `split' for true:TrueClass' and backtrace ["/usr/lib64/ru by/vendor_ruby/2.0.0/yast/builtins.rb:452:in `splitstring'", "/usr/share/YaST2/include/bootloader/routines/misc.rb:931:in `UpdateKernelParams'", "/usr/share/Ya ST2/include/bootloader/routines/lilolike.rb:1105:in `UpdateAppend'", "/usr/share/YaST2/modules/BootCommon.rb:718:in `Save'", "/usr/lib64/ruby/vendor_ruby/2.0.0 /yast/fun_ref.rb:33:in `call'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/fun_ref.rb:33:in `call'", "/usr/share/YaST2/include/bootloader/routines/switcher.rb:202 :in `blSave'", "/usr/share/YaST2/modules/Bootloader.rb:526:in `Write'", "/usr/share/YaST2/include/bootloader/routines/dialogs.rb:67:in `WriteDialog'", "/usr/share/YaST2/include/bootloader/routines/wizards.rb:137:in `block in BootloaderSequence'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/builtins.rb:535:in `call'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/builtins.rb:535:in `eval'", "/usr/share/YaST2/modules/Sequencer.rb:268:in `WS_run'", "/usr/share/YaST2/modules/Sequencer.rb:340:in `Run'", "/usr/share/YaST2/include/bootloader/routines/wizards.rb:156:in `BootloaderSequence'", "/usr/share/YaST2/clients/bootloader.rb:143:in `GuiHandler'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/fun_ref.rb:33:in `call'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/fun_ref.rb:33:in `call'", "/usr/share/YaST2/modules/CommandLine.rb:1625:in `Run'", "/usr/share/YaST2/clients/bootloader.rb:129:in `main'", "/usr/share/YaST2/clients/bootloader.rb:294:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/wfm.rb:184:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/wfm.rb:184:in `run_client'"] 2013-12-13 23:01:10 <3> linux(28697) [Ruby] yast/wfm.rb:202 Internal error. Please report a bug report with logs. Details: undefined method `split' for true:TrueClass ... The attached patch fixed the issue for me. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=855568 https://bugzilla.novell.com/show_bug.cgi?id=855568#c1 Vladimir Moravec <vmoravec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Vladimir Moravec <vmoravec@suse.com> 2013-12-18 10:24:26 UTC --- Fixed with https://github.com/yast/yast-bootloader/pull/33 -- 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.
participants (1)
-
bugzilla_noreply@novell.com