RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 617445 - errors with minimal install
Summary: errors with minimal install
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kexec-tools
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Neil Horman
QA Contact: Chao Ye
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-23 03:48 UTC by Qian Cai
Modified: 2011-01-11 09:30 UTC (History)
3 users (show)

Fixed In Version: kexec-tools-2.0.0-128
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 21:00:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
spec file patch to add missing depends (714 bytes, patch)
2010-07-23 10:51 UTC, Neil Horman
no flags Details | Diff
correct spec file patch (1.28 KB, patch)
2010-07-23 10:54 UTC, Neil Horman
no flags Details | Diff

Description Qian Cai 2010-07-23 03:48:31 UTC
Description of problem:
mkdumprd makes assumption that all the commands it needed are present in the system without make those required in the rpm spec. After installed from the minimal install and then install kexec-tools alone, the mkdumprd could generate wrong logic due missing of several utilities.

# service  kdump restart
Stopping kdump:                                            [  OK  ]
No kdump initial ramdisk found.                            [WARNING]
Rebuilding /boot/initrd-2.6.32-52.el6.x86_64kdump.img
cp: cannot stat `/sbin/mdadm': No such file or directory
cp: cannot stat `/sbin/kpartx': No such file or directory
/etc/init.d/kdump: line 209: dc: command not found
/etc/init.d/kdump: line 212: dc: command not found
/etc/init.d/kdump: line 219: [: 101496: unary operator expected
Starting kdump:

Version-Release number of selected component (if applicable):
kexec-tools-2.0.0-116.el6

How reproducible:
always

Comment 1 Neil Horman 2010-07-23 10:51:45 UTC
Created attachment 433916 [details]
spec file patch to add missing depends

Comment 2 Neil Horman 2010-07-23 10:54:29 UTC
Created attachment 433918 [details]
correct spec file patch

Comment 3 Neil Horman 2010-07-23 10:55:10 UTC
Here you go, please try installing with this rpm:
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=2620470

it should pull in the missing depends

Comment 4 Han Pingtian 2010-07-26 00:22:59 UTC
The problem has been fixed with the testing RPM.

Comment 6 Chao Ye 2010-08-12 02:32:45 UTC
Reproduced with RHEL6.0-20100722.0, kernel-2.6.32-52.el6, kexec-tools-2.0.0-116.el6:
================================================================================
[root@ibm-x3655-05 ~]# service kdump restart
Stopping kdump:                                            [  OK  ]
Detected change(s) the following file(s):
  
  /etc/kdump.conf
Rebuilding /boot/initrd-2.6.32-52.el6.x86_64kdump.img
cp: cannot stat `/sbin/mdadm': No such file or directory
cp: cannot stat `/sbin/kpartx': No such file or directory
/etc/init.d/kdump: line 209: dc: command not found
/etc/init.d/kdump: line 212: dc: command not found
/etc/init.d/kdump: line 219: [: 646900: unary operator expected
Starting kdump:
......

Verified with RHEL6.0-20100807.0, kernel-2.6.32-59.el6, kexec-tools-2.0.0-133.el6:
================================================================================

Comment 7 releng-rhel@redhat.com 2010-11-10 21:00:44 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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