Bug 114809 - [Patch] Argument to new-kernel-pkgs to set banner
Summary: [Patch] Argument to new-kernel-pkgs to set banner
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-03 02:41 UTC by Horms
Modified: 2008-08-02 23:40 UTC (History)
1 user (show)

Fixed In Version: 3.5.19-1
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-12 02:00:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to add --banner option to new-kernel-pkg (1.28 KB, patch)
2004-02-03 02:43 UTC, Horms
no flags Details | Diff

Description Horms 2004-02-03 02:41:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040122 Debian/1.6-1

Description of problem:
When kernel RPMS install they call new-kernel-pkgs to update
grub.conf. In the process of doing this a label/banner/title/whatever
is assigned to the image that is derived from /etc/redhat-release if
present or hard coded to "Red Hat" otherwise. The version of the kernel
is appended to this value.

I think it would be desirable to allow the banner to optionally be
passed as an argument to new-kernel-pkgs. This would allow
non-Red Hat supplied kernels to label themselves accordingly.
At this stage there doesn't seem to be a way to do this, so
non-Red Hat supplied kerrnel packages end up showing up
as "Red Hat" or "Fedora Core" when
installed - that is unless /etc/redhat-release has been modified.

The patch is completely backwards compatible and quite small.
Please apply it :-)

-- 
Horms


Version-Release number of selected component (if applicable):
mkinitrd-3.5.13-1

How reproducible:
Always

Steps to Reproduce:
1. Run new-kernel-pkgs (or install a kernel package)
2. Inspect /etc/grub.conf
3.
    

Actual Results:  Installed kernel is labeled as "Fedora Core"

Expected Results:  Some facility to allow an alternate label

Additional info:

Comment 1 Horms 2004-02-03 02:43:05 UTC
Created attachment 97428 [details]
Patch to add --banner option to new-kernel-pkg

Comment 2 Horms 2004-02-03 02:44:12 UTC
This feature would also be useful in RHEL :-)

Comment 3 Jeremy Katz 2004-02-09 19:00:52 UTC
Thanks, applied in CVS and will be in 3.5.19

Comment 4 Matthew Miller 2006-07-11 17:32:16 UTC
Fedora Core 1 is maintained by the Fedora Legacy project for security updates
only. If this problem is a security issue, please reopen and reassign to the
Fedora Legacy product. If it is not a security issue and hasn't been resolved in
the current FC5 updates or in the FC6 test release, reopen and change the
version to match.

Thanks!

NOTE: Fedora Core 1 is reaching the final end of support even by the Legacy
project. After Fedora Core 6 Test 2 is released (currently scheduled for July
26th), there will be no more security updates for FC1. Please use these next two
weeks to upgrade any remaining FC1 systems to a current release.



Comment 5 Horms 2006-07-12 00:38:21 UTC
This problem is certainly not a sercuirty issue, and furthermore, according
to Jerremy Katz's comment, it seems to have been incoporated into subsequent
versions of RHEL and/or Fedora.

I am confortable for this bug to be closed.

Comment 6 Matthew Miller 2006-07-12 02:00:51 UTC
Yeah, a changelog entry confirms. Thanks.

* Mon Feb 09 2004 Jeremy Katz - 3.5.19-1

- nash/mkinitrd: quiet mode for nash and necessary mkinitrd changes
  to work with it
- mkinitrd: add lxo's patch for copying lvm.conf (#112099)
- new-kernel-pkg: allow specifying the banner used in the boot loader config
  on the command line (#114809)



Note You need to log in before you can comment on or make changes to this bug.