Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 474902

Summary: bonding.sh – wrong logic when iterating parameters
Product: Gentoo Hosted Projects Reporter: Beelzebubbie <beelzebubbie.logs>
Component: netifrcAssignee: netifrc Team <netifrc>
Status: RESOLVED DUPLICATE    
Severity: normal CC: beelzebubbie.logs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Beelzebubbie 2013-06-26 21:24:15 UTC
bonding.sh setting twice mode and miimon parameters because of condition error (line 93):

[ "${n}" != "mode" -o "${n}" != "miimon" ] || continue 

which obviously had to be:

[ "${n}" != "mode" -a "${n}" != "miimon" ] || continue 

seems this do not need a patch :)
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-08-28 16:18:28 UTC
This was already fixed in OpenRC commit e0bbe8d0bde82b14aa9a867707298c2040442151 per bug #447790

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