Bug 673201

Summary: ifup-ib complains: line 79: [: too many arguments
Product: Red Hat Enterprise Linux 5 Reporter: Paul Morgan <jumanjiman>
Component: openibAssignee: Jay Fenlason <fenlason>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.5CC: jfeeney
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-09 19:00:47 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
patch file that fixes the issue locally none

Description Paul Morgan 2011-01-27 17:33:39 UTC
Created attachment 475646 [details]
patch file that fixes the issue locally

Description of problem:
improper handling of MTU variable in /etc/sysconfig/network-scripts/ifup-ib

Version-Release number of selected component (if applicable):
$ rpm -qf ifup-ib
openib-1.4.1-5.el5

OS version info:
[root@pc-mgw30 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

[root@pc-mgw30 ~]# uname -r
2.6.33.7-rt29.45.el5rt


How reproducible:
always

Steps to Reproduce:
1. ifdown ib0
2. ifup ib0

  
Actual results:
Bringing up interface ib0:  /etc/sysconfig/network-scripts/ifup-ib: line 79: [: too many arguments [  OK  ]
Bringing up interface ib1:  /etc/sysconfig/network-scripts/ifup-ib: line 79: [: too many arguments [  OK  ]


Expected results:
Bringing up interface ib0:  [  OK  ]
Bringing up interface ib1:  [  OK  ]



Additional info:
attaching a patch that resolves the issue on a local host

Comment 1 Jay Fenlason 2011-02-09 19:00:47 UTC

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