Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194224 - Xen can't create virtual interfaces when iproute2 is emerged with the minimal useflag
Summary: Xen can't create virtual interfaces when iproute2 is emerged with the minimal...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-29 22:22 UTC by Alexander Brüning
Modified: 2007-10-02 00:46 UTC (History)
1 user (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 Alexander Brüning 2007-09-29 22:22:15 UTC
I couldn't get networking to work in domUs. See below.

Reproducible: Always

Steps to Reproduce:
emerge iproute2 with USE="minimal"
Actual Results:  
When creating a domU I always got

Error: Device 0 (vif) could not be connected. Could not find bridge device xenbr0

Expected Results:  
Created and connected the virtual interface to the bridge (which was present in ifconfig -a all the time).
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-29 22:25:16 UTC
So don't do it, what exactly are you expecting here?
Comment 2 Micheal Marineau (RETIRED) gentoo-dev 2007-09-29 22:52:59 UTC
I guess I could die on install if iproute2 was built with minimal, but I would bet lots of random crap breaks in general when a system is built with the minimal use flag.
Comment 3 Alexander Brüning 2007-09-30 00:41:45 UTC
> So don't do it, what exactly are you expecting here?

I had no clue what was wrong and came across the source of the problem by accident. There should be a pointer somewhere that xen needs ip (or whatever) to work correctly.
Comment 4 Micheal Marineau (RETIRED) gentoo-dev 2007-09-30 01:03:03 UTC
(In reply to comment #3)
> > So don't do it, what exactly are you expecting here?
> 
> I had no clue what was wrong and came across the source of the problem by
> accident. There should be a pointer somewhere that xen needs ip (or whatever)
> to work correctly.
> 

K, next time I update the ebuild I'll add a check and a big fat warning to catch that.

In general I would recommend not using the minimal use flag unless you know exactly what functionality it is stripping for a package and you are worried about space (ie tiny embedded systems).
Comment 5 Alexander Brüning 2007-09-30 01:20:40 UTC
Okay, thank you :)
Comment 6 Robert Buchholz (RETIRED) gentoo-dev 2007-09-30 01:44:29 UTC
Alexander, this is not a 'major' bug. Stop making it one.
Comment 7 Alexander Brüning 2007-09-30 11:06:27 UTC
I think "major loss of function" is a pretty good description of not being able to use networking with Xen and not knowing why. I bet I'm not the only one who built a dom0 with USE="minimal".
Comment 8 Micheal Marineau (RETIRED) gentoo-dev 2007-10-02 00:46:09 UTC
Updated xen-tools-3.1.0-r1 to issue a warning if iproute2 was built with USE=minimal. Closing.