[Lxc-users] SIOCGIFNAME

Papp Tamas tompos at martos.bme.hu
Tue May 29 20:10:47 UTC 2012


On 05/29/2012 07:29 PM, Daniel Lezcano wrote:
>
> On 05/29/2012 03:48 PM, Papp Tamas wrote:
>> hi All,
>>
>>
>> This doesn't work now:
>>
>> ioctl(3, SIOCGIFNAME, {ifr_index=0, ifr_name=???}) = -1 ENODEV (No such
>> device)
>>
>>
>> Is there any way to make it work?
>
> Yep, the index are not virtualized. So ifr_index=0 is for the loopback 
> in the init network namespace.

So there is no way?

Thank,
tamas





More information about the lxc-users mailing list