[CentOS] Heads up: corrupt ifup-eth script in initscripts package on 5.7
Dennis Jacobfeuerborn
dennisml at conversis.de
Wed Dec 21 22:07:03 UTC 2011
On 12/21/2011 08:10 PM, Alan McKay wrote:
> What kind of weird things?
>
> I just finally got several boxes upgraded from 5.3 to 5.7 and so far have
> not seen anything odd.
>
>
I have the following config for a vlan interface:
DEVICE=eth0.6
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
VLAN=yes
BRIDGE=vlanbr6
and a bridge:
DEVICE=vlanbr6
BOOTPROTO=none
ONBOOT=yes
TYPE=Bridge
STP=off
NM_CONTROLLED=no
On Centos 5.6 this works as expected. On Centos 5.7 this also works but
also outputs "RTNETLINK answers: No such device".
It seems the script is not broken but the code path executed is now very
different (due to the missing "exec" call in the script). As a result the
script at the end does a "ip route replace" on the bridge which apparently
doesn't work. In the old version this code also exists but never gets run
because the execution of "ifup-eth" ends with the "exec" line.
Regards,
Dennis
More information about the CentOS
mailing list