vzifup-post error

C

chrwei

Guest
with version 1.5 downloaded yesterday, when i ifup a network device i get

Usage: vzarp-ifup DEVICE
run-parts: /etc/network/if-up.d/vzifup-post exited with return code 1

looking at the script, it expect the interface name on the command line, but that's not how if-up.d scripts work. the script is included and inherits the callers variables, the interface name is in the $IFACE.

replacing $1 with $IFACE fixes the error.
 
The contents of /usr/sbin/vzifup-post should be:

Code:
#!/bin/sh

exec /usr/sbin/vzifup-post "$IFACE"

If you have something different, there is something wrong with the vzctl installation.

What is the output of:

# pveversion -v
 
# pveversion -v
pve-manager: 1.5-9 (pve-manager/1.5/4728)
running kernel: 2.6.32-2-pve
proxmox-ve-2.6.32: 1.5-7
pve-kernel-2.6.32-2-pve: 2.6.32-7
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-14
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.4-1
ksm-control-daemon: 1.0-3


I installed from the bare metal ISO, and ran aptitude update; aptitude upgrade after
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!