Bug 210416

Summary: mkdumprd won't abort even if an error occurs.
Product: Red Hat Enterprise Linux 5 Reporter: Akira Imamura <aimamura>
Component: kexec-toolsAssignee: Neil Horman <nhorman>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: kkomiyam, ktokunag, ntachino
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-13 17:14:08 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:
Description Flags
This patch can fix the problem. none

Description Akira Imamura 2006-10-11 22:04:43 UTC
Description of problem:
mkdumprd won't abort even if it fails to unmount of a temporary
directory for testing of NFS path.

Version-Release number of selected component (if applicable):
kexec-tools-1.101-92.el5

How reproducible:
Always

Steps to Reproduce:
1. Configure "net" in /etc/kdump.conf so that it fails to mount the specified
nfs path.
2. Run "service kdump restart"
3.
  
Actual results:
kdump starts up.

Expected results:
kdump fails to start up with warning.


Additional info:
The cause of this problem is that mkdumprd doesn't check a return value of
umount. I attached a patch to fix this problem.

Comment 1 Akira Imamura 2006-10-11 22:04:45 UTC
Created attachment 138288 [details]
This patch can fix the problem.

Comment 2 Neil Horman 2006-10-12 11:58:01 UTC
fixed in -93.el5.  Thanks!

Comment 3 Jay Turner 2007-02-13 17:14:08 UTC
kexec-tools-1.101-164.el5 included in 20070208.0.