Bug 696971
| Summary: | grubby not updating arguments for all kernels when --update-kernel=ALL is used | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Christian Horn <chorn> | ||||||
| Component: | mkinitrd | Assignee: | Brian Lane <bcl> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 5.5 | CC: | atodorov, ddumas, gasmith, jstodola, vincent | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | 5.8 | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | mkinitrd-5.1.19.6-73 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-02-21 05:34:03 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 668957, 719046, 726828, 758797 | ||||||||
| Attachments: |
|
||||||||
|
Description
Christian Horn
2011-04-15 13:05:35 UTC
Created attachment 493002 [details]
Patch
Created attachment 493003 [details]
Test patch
Verified the patch, fixes the problem This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Test:
[root@chicken ~]# cat >grubtest<<EOT
> default=0
> timeout=5
> title Red Hat Enterprise Linux (2.6.32-71.el6.x86_64)
> root (hd0,0)
> kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/vg_rhel6-lv_root
> initrd /initramfs-2.6.32-71.el6.x86_64.img
> title Red Hat Enterprise Linux (2.6.50-71.el6.x86_64)
> root (hd0,0)
> kernel /vmlinuz-2.6.50-71.el6.x86_64 ro root=/dev/mapper/vg_rhel6-lv_root
> initrd /initramfs-2.6.50-71.el6.x86_64.img
> EOT
[root@chicken ~]# grubby -c grubtest --update-kernel=ALL --args='option=0'
[root@chicken ~]# grubby -c grubtest --update-kernel=ALL --args='option=1'
[root@chicken ~]# grubby -c grubtest --info=ALL|grep ^args
Results with RHEL-5.7 (mkinitrd-5.1.19.6-71.el5):
args="ro option=1"
args="ro option=0"
Correct results with RHEL-5.8 Snapshot 2 (mkinitrd-5.1.19.6-75.el5):
args="ro option=1"
args="ro option=1"
Moving to VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0157.html |