Subject: Re: [vserver] UCARP and VServer
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 8 Apr 2013 22:56:02 +0200

On Mon, Apr 08, 2013 at 04:38:08PM +0100, Phil Daws wrote:
> Hello,

> yesterday I tried to get UCARP (http://www.pureftpd.org/project/ucarp) working with
a CentOS 6.4 VServer guest but kept hitting the problem:

> Apr  7 15:55:50 ha1 ucarp[27635]: [ERROR] Unable to open raw device: [Operation not
permitted]
> Apr  7 15:55:50 ha1 ucarp[27635]: [ERROR] Unable to find MAC address of [eth0]

> I have tried giving NET_RAW and NET_ADMIN capabilities to the
> guest but that still did not work. On a long shot I even tried
> ~HIDE_NETIF in nflags but that did not help at all.

> Any thoughts ?

you might be able to get this working with a network namespace,
but I don't see the point why you would want that inside a
guest (it might make some sense on the host)

best,
Herbert