Summary: | sys-apps/openrc-0.8.3-r1: Cannot find device "bond0" upon stopping the interface | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Yun Zheng Hu <hu> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-p-6787784.html | ||
Whiteboard: | openrc:oldnet | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 382299 | ||
Attachments: | Patch for iproute2.sh that checks if the interface exists before perfoming the iproute2_post_stop() steps |
Description
Yun Zheng Hu
2011-08-17 13:52:02 UTC
Created attachment 283667 [details, diff]
Patch for iproute2.sh that checks if the interface exists before perfoming the iproute2_post_stop() steps
not sure if we also need to check if interface exists in iproute2_post_start().
I can't reproduce your issue, can you please post more details? Do you stop the interface by hand or does anything else stop it? Can you show me the related part of your conf.d/net please as well? Ok, I am able to reproduce it now with e.g.: # /etc/conf.d/modules modules="bonding" module_bonding_args="mode=6" # /etc/conf.d/net config_eth0="null" config_eth1="null" slaves_bond0="eth0 eth1" config_bond0="192.168.1.200/24" routes_bond0="default via 192.168.1.160" rc_need_bond0="net.eth0 net.eth1" So slaves are required to be able to reproduce it. This has been added by commit bf49e59. http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commitdiff;h=bf49e59 You can apply the patch by doing: # wget 'http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=patch;h=bf49e59' -O /tmp/bonding.patch # cd /lib/rc/net/ # patch -p2 < /tmp/bonding.patch Thanks! |