Bug 215323
Summary: | grubby can't update config with 2 dir-depth | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Bastien Nocera <bnocera> | ||||
Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.0 | CC: | tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.1.16-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-11-14 16:56:31 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: | |||||||
Attachments: |
|
Created attachment 141052 [details]
fix_mkinitrd_by_changing-basename-to-dirname.patch
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Already fixed in mkinitrd 5.1.16-1 . |
Tested only with yaboot, but should have the same problem with grub.conf. mkinitrd-5.1.2-1.4 Patch from Lin Feng Shen <shenlinf.com> attached # cat /etc/yaboot.conf | tail -6 image=/vmlinuz-2.6.18-1.2739.el5 label=linux read-only initrd=/initrd-2.6.18-1.2739.el5.img root=/dev/VolGroup00/LogVol00 append="console=hvc0 rhgb quiet" # cp /etc/yaboot.conf /etc/yaboot.conf.orig # mkdir /home/tmpdir; cd /home/tmpdir # /sbin/grubby --yaboot --update-kernel=/boot/vmlinuz-2.6.18-1.2739.el5 --args=crashkernel=576M@32M grubby: error creating ../boot/etc/yaboot.conf-: No such file or directory # diff /etc/yaboot.conf /etc/yaboot.conf.orig # cd /root # /sbin/grubby --yaboot --update-kernel=/boot/vmlinuz-2.6.18-1.2739.el5 --args=crashkernel=576M@32M # diff /etc/yaboot.conf /etc/yaboot.conf.orig 21c21 < append="console=hvc0 rhgb quiet crashkernel=576M@32M" --- > append="console=hvc0 rhgb quiet"