Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260204 - sys-apps/openrc: network interfaces don't clean up if they fail to start
Summary: sys-apps/openrc: network interfaces don't clean up if they fail to start
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 05:32 UTC by Caleb Cushing
Modified: 2009-12-20 18:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Cushing 2009-02-25 05:32:39 UTC
if I try to bring br0 up and it fails due to timeouts say, the interface is still up, I then have to ifconfig br0 down and brctl delbr br0 to stop it completely. it would be nice is /etc/init.d/net.br0 zap ( or even better if it fails to come up with no other action required ) would do me the favor of completely destroying the interface. so I can then start another one without problems.

note if I've got a bridge I was trying to connect to eth0 and then I wanted to bring it up without the bridge and br0 still exists, it won't be able to come up.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-20 18:56:40 UTC
Hi, I bounced your idea to upstream dev, but it isn't really possible.

12:53 <@rsmarples> darkside_: nice idea, but far to difficult for any gain 
                   involved
12:53 <@rsmarples> consider wireless + dhcp - if dhcp fails should it kill the 
                   working wireless link?
12:53 < darkside_> yea, makes sense. i'll close the bug then
12:54 <@rsmarples> admittedly it's moot with dhcpcd as it then "succeds" with 
                   IPv4LL, but the argument is still sound