[Lxc-users] SIOCGIFNAME

Daniel Lezcano daniel.lezcano at free.fr
Tue May 29 17:29:48 UTC 2012


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.






More information about the lxc-users mailing list