[Bug 365689] [NEW] Bashism in vznetcfg makes it impossible to use veth in a vz

Michael Jeanson mjeanson at revolutionlinux.com
Thu Apr 23 20:44:19 UTC 2009


Public bug reported:

Binary package hint: vzctl

In Hardy, the vznetcfg script contains a bashism that makes it
impossible to use veth devices. This was fixed in debian unstable and
synced in Jaunty.

TEST CASE:
On a functionnal openvz host, create a new vz :
vzctl create 101

Add a veth interface to the vz
vzctl set 101 --netif_add eth0 --save

Try to start the vz:
vzctl start 101
Starting VE ...
VE is mounted
Setting CPU units: 1000
Configure meminfo: 9223372036854775807
Configure veth devices: veth101.0 
/usr/sbin/vznetcfg: 20: source: not found
VE start in progress...

The vz starts but the veth device is not configured.

Regression potential:
The fix is a oneliner that removes a bashism, regression potential is very low.

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

-- 
Bashism in vznetcfg makes it impossible to use veth in a vz
https://bugs.launchpad.net/bugs/365689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list