Bug 472104 - /etc/init.d/kdump: line 134: [: too many arguments
Summary: /etc/init.d/kdump: line 134: [: too many arguments
Keywords:
Status: CLOSED DUPLICATE of bug 471306
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kexec-tools
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Neil Horman
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-18 19:29 UTC by Charlotte Richardson
Modified: 2009-09-07 03:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-18 20:16:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Charlotte Richardson 2008-11-18 19:29:43 UTC
Description of problem:
Any attempt to start or restart service kdump gets
/etc/init.d/kdump: line 134: [: too many arguments

Version-Release number of selected component (if applicable):
kdump-kexec from RHEL5.3-snap2

How reproducible:
Always

Steps to Reproduce:
1. touch /etc/kdump.conf
2. service kdump restart
  
Actual results:
/etc/init.d/kdump: line 134: [: too many arguments

Expected results:
Should work.

Additional info:
The line being complained about in /etc/init.d/kdump (line 134) is:

if [ -n "$FORCE_REBUILD" -a $modified_files!=" "]

It should be:
if [ -n "$FORCE_REBUILD" -a "$modified_files"!=" "]

which works fine.

Comment 1 Neil Horman 2008-11-18 20:16:17 UTC

*** This bug has been marked as a duplicate of bug 471306 ***


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