Subject: Re: [vserver] /proc/net/dev missing when networknamespaces are active
From: Steve Kieu <msh.computing@gmail.com>
Date: Fri, 22 Jun 2012 22:59:11 +1000
Fri, 22 Jun 2012 22:59:11 +1000
Well, it seems not to have to do with proc-unhiding at all, it seems to

> be an issue with netns as such. Unfortunately I need netns to enable my
>

I do not think the problem with netns though. Why lxc tool works - means
inside lxc CT /proc/net/dev appear normally including all networking tools
such as ifconfig, route, etc..  .

In fact I migrate some vserver to use lxc and all networking functionality
there works fine. I miss the more fine tune permission vserver offer, such
as I do not need to drop sys admin but still allow mount fuse based to work
on vserver, but with lxc I have to give fille sys admin in order for it to
work (of course usr root in CT can remount with rw for sysfs for example
will be nightmare :-)

Other than that all good with lxc .




> vservers for ipv6 autoconfiguration as they have multiple, some of them
> with changing prefixes.
> ip-tools work well enough for ipv6 auto-assigning to be successful. I
> managed to get an IPv4-Adress with 'pump' instead of dhclient once. But
> since then it fails again.
>
> Regards,
>        Adrian
> --
> LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
> Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
> Mail: lihas@lihas.de - Web: http://lihas.de
> Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
>



-- 
Steve Kieu


Well, it seems not to have to do with proc-unhiding at all, it seems to
be an issue with netns as such. Unfortunately I need netns to enable my

I do not think the problem with netns though. Why lxc tool works - means inside lxc CT /proc/net/dev appear normally including all networking tools such as ifconfig, route, etc..  .

In fact I migrate some vserver to use lxc and all networking functionality there works fine. I miss the more fine tune permission vserver offer, such as I do not need to drop sys admin but still allow mount fuse based to work on vserver, but with lxc I have to give fille sys admin in order for it to work (of course usr root in CT can remount with rw for sysfs for example will be nightmare :-)

Other than that all good with lxc .


 
vservers for ipv6 autoconfiguration as they have multiple, some of them
with changing prefixes.
ip-tools work well enough for ipv6 auto-assigning to be successful. I
managed to get an IPv4-Adress with 'pump' instead of dhclient once. But
since then it fails again.

Regards,
       Adrian
--
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas@lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart



--
Steve Kieu