Bug 648565

Summary: kernel update removes custom grub entries
Product: [openSUSE] openSUSE 11.3 Reporter: Nico Kruber <nico.kruber>
Component: OtherAssignee: Josef Reidinger <jreidinger>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jeffm, mmarek, suse-beta
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Nico Kruber 2010-10-22 08:07:35 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.11) Gecko/20101013 SUSE/3.6.11-32.1 Firefox/3.6.11

Applying a kernel update will delete custom grub entries with this kernel and add a default one

Reproducible: Always

Steps to Reproduce:
1. duplicate a grub entry and add some parameter to the kernel command line
2. update kernel, e.g. by doing auto-update with one of the provided kernel updates
Actual Results:  
the created custom entry in grub which uses the outdated kernel which has now been updated is removed,
a default entry is created, e.g. "Desktop -- openSUSE 11.3 - 2.6.34.7-0.4"

Expected Results:  
all (custom) entries with the updated kernel should be changed in order to boot the new one - without changing either the name of the entry, nor any parameters
Comment 1 Josef Reidinger 2010-11-23 17:50:27 UTC
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.11)
> Gecko/20101013 SUSE/3.6.11-32.1 Firefox/3.6.11
> 
> Applying a kernel update will delete custom grub entries with this kernel and
> add a default one
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. duplicate a grub entry and add some parameter to the kernel command line
> 2. update kernel, e.g. by doing auto-update with one of the provided kernel
> updates
> Actual Results:  
> the created custom entry in grub which uses the outdated kernel which has now
> been updated is removed,
> a default entry is created, e.g. "Desktop -- openSUSE 11.3 - 2.6.34.7-0.4"
> 
> Expected Results:  
> all (custom) entries with the updated kernel should be changed in order to boot
> the new one - without changing either the name of the entry, nor any parameters

Sorry, that is not way how it work. If you really want separate case for special booting custom kernel use symlinks, which perl-Bootloader doesn't update.
Current behavior is that during update one entry with new kernel is added and during removing kernel all kernel entries with it is removed.

If you think that your behavior is better one, please feel it as new feature into fate.
Comment 2 Christian Boltz 2010-11-23 18:55:24 UTC
(In reply to comment #1)
> If you think that your behavior is better one, please feel it as new feature
> into fate.

I'm not Nico, but I agree with his request ;-) and just opened
https://features.opensuse.org/310856
Comment 3 Josef Reidinger 2010-11-23 19:02:13 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > If you think that your behavior is better one, please feel it as new feature
> > into fate.
> 
> I'm not Nico, but I agree with his request ;-) and just opened
> https://features.opensuse.org/310856

OK, thanks. So if then it will be decided then it should be changed I do it :)