Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 941560 Details for
Bug 1141414
persistently boots original installed kernel by default, even after kernel updates
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
In /etc/sysconfig/kernel make it UPDATEDEFAULT=no
0002-In-etc-sysconfig-kernel-set-UPDATEDEFAULT-no.patch (text/plain), 1.55 KB, created by
Gene Czarcinski
on 2014-09-26 12:58:01 UTC
(
hide
)
Description:
In /etc/sysconfig/kernel make it UPDATEDEFAULT=no
Filename:
MIME Type:
Creator:
Gene Czarcinski
Created:
2014-09-26 12:58:01 UTC
Size:
1.55 KB
patch
obsolete
>From 02d7e8690803c401b65ba0d03507a9d5a34c4918 Mon Sep 17 00:00:00 2001 >From: Gene Czarcinski <gczarcinski@ec.rr.com> >Date: Fri, 26 Sep 2014 08:39:13 -0400 >Subject: [PATCH 2/2] In /etc/sysconfig/kernel set UPDATEDEFAULT=no >Content-Type: text/plain; charset="utf-8" >Content-Transfer-Encoding: 8bit > >The previous patch which changed the contents of /boot/grub2/grubenv >to saved_entry=0 was incomplete. We also need to specify >UPDATEDEFAULT=no > >This partially addresses RHBZ #1141414 and RHBZ #1111790. > >There will need to be a patch to grubby so that it acts on >UPDATEDEFAULT=yes and UPDATEDEFAULT=no >--- > pyanaconda/bootloader.py | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > >diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py >index 440b2dd..1307eee 100644 >--- a/pyanaconda/bootloader.py >+++ b/pyanaconda/bootloader.py >@@ -2342,11 +2342,8 @@ def writeSysconfigKernel(storage, version, instClass): > f = open(iutil.getSysroot() + "/etc/sysconfig/kernel", "w+") > f.write("# UPDATEDEFAULT specifies if new-kernel-pkg should make\n" > "# new kernels the default\n") >- # only update the default if we're setting the default to linux (#156678) >- if storage.bootloader.default.device == storage.rootDevice: >- f.write("UPDATEDEFAULT=yes\n") >- else: >- f.write("UPDATEDEFAULT=no\n") >+ # with saved_entry=0, never update the default by default >+ f.write("UPDATEDEFAULT=no\n") > f.write("\n") > f.write("# DEFAULTKERNEL specifies the default kernel package type\n") > f.write("DEFAULTKERNEL=%s\n" % kernel) >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1141414
:
937158
| 941560