[Lxc-users] SIOCGIFNAME

Daniel Lezcano daniel.lezcano at free.fr
Wed May 30 02:28:24 UTC 2012


On 05/29/2012 10:10 PM, Papp Tamas wrote:
> 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?

What do you want to do exactly ?




More information about the lxc-users mailing list