Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304097 - app-emulation/qemu & app-emulation/qemu-kvm need sys-apps/iproute2 and net-misc/bridge-utils
Summary: app-emulation/qemu & app-emulation/qemu-kvm need sys-apps/iproute2 and net-mi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-09 08:05 UTC by Elfenbein, Karsten
Modified: 2010-03-02 16:32 UTC (History)
1 user (show)

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


Attachments
patch (qemu-kvm-drop-deps.patch,797 bytes, patch)
2010-02-14 08:27 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elfenbein, Karsten 2010-02-09 08:05:12 UTC
the /etc/qemu/qemu-ifup script uses the commands "ip" and "brctl" which are provided by these packages and not pulled in by the current ebuild

also the brctl app is installed in /sbin/brctl by default not /usr/sbin/brctl as listed in the script


Reproducible: Always

Steps to Reproduce:
emerge -pv -e =app-emulation/qemu-kvm-0.12.2-r1
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2010-02-12 19:52:29 UTC
This should be fixed now. The depends have been added.
Comment 2 Jeff Kowalczyk 2010-02-12 23:53:19 UTC
qemu-kvm-9999 also needs the update to the dependencies.
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2010-02-13 21:23:04 UTC
This isn't right. qemu and qemu-kvm's default ifup script needs iproute2 and bridge-utils, qemu and qemu-kvm themselves don't, and I was happily using them (occasionally switching between the two) with another ifup script that needed neither iproute2 nor bridge-utils, and am now using a something that uses bridge-utils but not iproute2. Could you, instead of forcing these packages, either simply drop the dependencies and add an einfo message, or drop the default ifup script (possibly depending on a USE flag)?
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2010-02-14 07:36:57 UTC
(In reply to comment #3)
> This isn't right. qemu and qemu-kvm's default ifup script needs iproute2 and
> bridge-utils, qemu and qemu-kvm themselves don't, and I was happily using them
> (occasionally switching between the two) with another ifup script that needed
> neither iproute2 nor bridge-utils, and am now using a something that uses
> bridge-utils but not iproute2. Could you, instead of forcing these packages,
> either simply drop the dependencies and add an einfo message, or drop the
> default ifup script (possibly depending on a USE flag)?
> 

Give me a patch that makes everyone happy.
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2010-02-14 08:27:49 UTC
Created attachment 219595 [details, diff]
patch

(In reply to comment #4)
> Give me a patch that makes everyone happy.

My choice would be this. It might not make everybody happy, but it does address everyone's needs.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2010-03-02 16:32:15 UTC
Fixed in qemu-kvm-0.12.3