Bug 948732 - yast2-bootloader crashes with nontelling NilClass error
Summary: yast2-bootloader crashes with nontelling NilClass error
Status: VERIFIED DUPLICATE of bug 923458
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Bootloader (show other bugs)
Version: Current
Hardware: x86-64 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Josef Reidinger
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-04 21:25 UTC by Jan Engelhardt
Modified: 2018-01-25 12:20 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/YaST2 tarred up (15.56 KB, application/x-xz)
2015-10-04 21:25 UTC, Jan Engelhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Engelhardt 2015-10-04 21:25:25 UTC
Created attachment 650034 [details]
/var/log/YaST2 tarred up

With TW 20151002:

1. grub 0.97 was in MBR
2. rpm -e grub  (grub2 rpm were installed already)
3. `yast2 bootloader`
4. it displays "Do Not Install Any Boot Loader", likely because that is what is in /etc/sysconfig/.
5. switching to "GRUB2":

┌──────────────────────────────────────────────────────────────────────────────┐
│Error                                                                         │
│Internal error. Please report a bug report with logs.                         │
│Details: undefined method `[]' for nil:NilClass                               │
│Caller:  /usr/share/YaST2/include/bootloader/grub2/misc.rb:123:in `grub_Locati│
Comment 1 Jan Engelhardt 2015-10-04 21:28:06 UTC
jng-sfac:/etc/sysconfig # cat bootloader 
LOADER_TYPE="grub"
DEFAULT_APPEND="   splash=silent quiet showopts"
DEFAULT_VGA=""
FAILSAFE_APPEND="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
FAILSAFE_VGA=""
XEN_KERNEL_APPEND="   splash=silent quiet showopts"
XEN_APPEND=""
XEN_VGA=""


jng-sfac:/etc/sysconfig # rpm -q grub2
grub2-2.02~beta2-47.1.x86_64
Comment 2 Josef Reidinger 2015-10-05 10:36:51 UTC
thanks for report. Already reported as bug#923458

*** This bug has been marked as a duplicate of bug 923458 ***
Comment 3 Jan Engelhardt 2018-01-25 12:20:45 UTC
.