Bug 673201 - ifup-ib complains: line 79: [: too many arguments
Summary: ifup-ib complains: line 79: [: too many arguments
Keywords:
Status: CLOSED DUPLICATE of bug 596823
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openib
Version: 5.5
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jay Fenlason
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-27 17:33 UTC by Paul Morgan
Modified: 2014-08-31 23:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-09 19:00:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch file that fixes the issue locally (1.02 KB, patch)
2011-01-27 17:33 UTC, Paul Morgan
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 596823 0 high CLOSED syntax error in /etc/sysconfig/network-scripts/ifup-ib 2021-02-22 00:41:40 UTC

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 ***


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