[PVE-User] vzifup-post errors

Derek W. Poon derekp+pve at ece.ubc.ca
Thu Apr 22 23:59:43 CEST 2010


Dietmar,

I have filed bug http://bugzilla.openvz.org/show_bug.cgi?id=1496 and attached a different patch to it.

Considering compatibility with SuSE, I have devised a new solution, in which /etc/network/if-up.d/vzifup-post calls /usr/sbin/vzifup-post with an $IFACE argument.

Derek


On 2010-04-21, at 12:55 AM, Dietmar Maurer wrote:

> Hi Derek,
> 
> Many thanks for the patches. Please can you post this one 
> directly to the openvz bug tracker?
> 
> - Dietmar
> 
>> -----Original Message-----
>> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
>> bounces at pve.proxmox.com] On Behalf Of Derek W. Poon
>> Sent: Mittwoch, 21. April 2010 01:31
>> To: pve-user at pve.proxmox.com
>> Subject: [PVE-User] vzifup-post errors
>> 
>> When I run /sbin/ifup vmbr1, the following error appears:
>> Usage: vzarp-ifup DEVICE
>> run-parts: /etc/network/if-up.d/vzifup-post exited with return code 1
>> 
>> # dpkg -l vzctl
>> ||/ Name           Version        Description
>> +++-==============-==============-
>> =======================================
>> ii  vzctl          3.0.23-1pve8   OpenVZ - server virtualization
>> solution
>> 
>> 
>> According to interfaces(5), the interface name is passed to post-up
>> scripts via the $IFACE environment variable, not via a command-line
>> argument.  The following patch fixes that, as well as a syntax error
>> with a -z test.



More information about the pve-user mailing list