Bug 432788
Summary: | Major release upgrade: ls: /boot/initrd*kdump.img: No such file or directory | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Milan Zázrivec <mzazrivec> |
Component: | kexec-tools | Assignee: | Neil Horman <nhorman> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.2 | CC: | jarod, mnowak, qcai |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2008-0313 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-05-21 15:23:19 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: |
Description
Milan Zázrivec
2008-02-14 12:05:14 UTC
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. I don't see what could be causing this. As you can see below, not much is happening in the scriptlets for either the old version of the package or the new version. firstboot itself doesn't care about any of the files listed above. $ rpm -qp --scripts firstboot-1.3.39-6.noarch.rpm warning: firstboot-1.3.39-6.noarch.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e postinstall scriptlet (using /bin/sh): if ! [ -f /etc/sysconfig/firstboot ] then chkconfig --add firstboot fi preuninstall scriptlet (using /bin/sh): if [ $1 = 0 ]; then rm -rf /usr/share/firstboot/*.pyc rm -rf /usr/share/firstboot/modules/*.pyc chkconfig --del firstboot fi $ rpm -qp --scripts firstboot-1.4.27.3-1.el5.noarch.rpm warning: firstboot-1.4.27.3-1.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 preuninstall scriptlet (using /bin/sh): if [ $1 = 0 ]; then rm -rf /usr/share/firstboot/*.pyc rm -rf /usr/share/firstboot/modules/*.pyc fi setting this as an exception so Brock has time to verify .. This has gotta be some sort of %trigger-driven thing, probably in kexec-tools. I just hit the same error message rpm -e'ing a kernel: # rpm -e kernel-2.6.18-84.el5 ls: /boot/initrd*kdump.img: No such file or directory Okay, yeah, its kexec-tools, here's the guilty snippet from said package's spec: %triggerpostun -- kernel # List out the initrds here, strip out version nubmers # and search for corresponding kernel installs, if a kernel # is not found, remove the corresponding kdump initrd #start by getting a list of all the kdump initrds for i in `ls /boot/initrd*kdump.img` do KDVER=`echo $i | sed -e's/^.*initrd-//' -e's/kdump.*$//'` if [ ! -e /boot/vmlinuz-$KDVER ] then # We have found an initrd with no corresponding kernel # so we should be able to remove it rm -f $i fi done This is busted on two levels though... 1st, that it doesn't suppress output if there's nothing there (this bug). 2nd, it won't ever work on ia64, since the kdump initrds are in /boot/efi/efi/redhat/. Changing component to kexec-tools for Neil to fix up... *** Bug 437451 has been marked as a duplicate of this bug. *** An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0313.html |