View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015905||CentOS-7||initscripts||public||2019-03-10 15:46||2019-03-10 18:30|
|Priority||normal||Severity||major||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0015905: ifup of a bridge doesn work and was fixed by RHEL at the RH bugzilla 1609687|
|Description||When using "ifup bridge-name" I receive an error:|
/etc/sysconfig/network-scripts/ifup-eth: line 91: [: 0: unary operator expected
This was fixed in RHEL at:
With the next changes:
|Steps To Reproduce||create a sysconfig ifcfg-bridge1 file which has:|
And then run "ifup bridge1" and you will receive an error.
|Tags||No tags attached.|
CentOS is a rebuild of the sources used to build RHEL. We do not fix bugs ourselves, we wait for RH to fix them in RHEL and release the updated source and once that is done then it is rebuilt for CentOS. To get a bug fixed in CentOS you have to wait for RH to fix it in RHEL.
According to the BZ, the bug has not been fixed in RHEL 7, but "will need to be backported to rhel7-branch..."
|From the linked bz https://bugzilla.redhat.com/show_bug.cgi?id=1635313 there also appears to be a nice easy workaround as that says adding DELAY=$someinteger to the ifcfg file means it doesn't need to calculate it at all.|
|Oh, and your current DELAY= is a floating point number not an integer...|
@TrevorH the floating point was the issue....
I found out how it all works now fine.
I had a very hard time working on this new server without my old notes about that the delay should be integer.
At-least now this bug is know to be resolved.
create a sysconfig ifcfg-bridge1 file which has:
The dealy with 10 or 5 works just fine.