Summary: | =app-emulation/qemu-kvm-0.11.0 cannot find /etc/qemu-ifup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthew Schultz <mattsch> |
Component: | New packages | Assignee: | Lance Albertson (RETIRED) <ramereth> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes, karsten.elfenbein, lu_zero |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matthew Schultz
2009-11-24 17:46:54 UTC
Command I'm using: qemu -vga std -m 512 -hda /dev/sda -usb -net nic -net tap,ifname=tap0 -daemonize In addition, the log mentions /etc/kvm like the old kvm-88 build as opposed to /etc/qemu in the src_install. Perhaps it would have been better to test this before deleting kvm-88 and adding this new version? So apparently you're either going to have to patch net.h:159:#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" or you're going to have to modify the ebuild so that it puts the up and down files in /etc/ instead of /etc/qemu Same here, I created a symlink /etc/qemu-ifup -> /etc/qemu/qemu-ifup to circumvent the issue. But even then, qemu-ifup doesn't work on my system anylonger. Paths and awk statement seem to be incorrect. Changing it as follows fixes it for me. #!/bin/sh #n3. removed (wrong) paths from commands and fixed awk expression to extract default routing interface switch=$(/sbin/ip route list | awk '/^default / { print $5 }') ifconfig $1 0.0.0.0 up brctl addif ${switch} $1 not just qemu-kvm, the same for app-emulation/qemu-0.11.1 Since i was told that Ramereth maintains 0.11.x versions of qemu-kvm, reassigning those bugs to him. qemu-kvm-11.0 was dropped from the tree so I'm closing this bug. |