Public bug reported:

Binary package hint: kvm

I'm running Ubuntu 9.04 Jaunty with kvm 1:84+dfsg-0ubuntu11

In this package, "kvm -net tap" defaults to "script=/etc/kvm-ifup" and
"downscript=/etc/kvm-ifdown". However the package actually includes
/etc/kvm/kvm-ipup (different location) and no kvm-ifdown at all.

This forces users to write write their own kvm-ifdown, and respecify the
location for kvm-ifup.

It would be better if:

- The "kvm -net tap" default for kvm-ifup was the same as where the
package actually puts it (either move the script or compile kvm with a
different default).

- The package shipped with a kvm-ifdown script (again ideally in the
location which the binary expects by default). A reasonable example
(which mirrors the current kvm-ifup) would be:

#!/bin/sh

# NOTE: For this script to operate properly, it is expected that
#       you have a br0

BRIDGE=br0

/usr/sbin/brctl delif $BRIDGE $1
/sbin/ifconfig $1 0.0.0.0 down

** Affects: kvm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Inconsistent location of kvm-ifup, missing kvm-ifdown
https://bugs.launchpad.net/bugs/376387
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to