[vserver] /proc/net/dev missing when networknamespaces are active

From: Adrian Reyer <are_at_lihas.de>
Date: Fri 22 Jun 2012 - 11:17:28 BST
Message-ID: <20120622101728.GA1790@r2d2.s.lihas.de>

Hi,

as soon as I enable network namespaces with touch
/etc/vservers/VSNAME/spaces/net, /proc/net/ within the vserver is empty.
This again breaks ifconfig and dhclient.
ip a l only shows 'lo'.
Adding more entries to vprocunhide doesn't make any difference.
/proc/self/net is just as empty as /proc/net.

Versions:
                   Kernel: 3.4.3-vs2.3.3.4
                   VS-API: 0x00020308
                      VCI: 0x0000000013001f11
             util-vserver: 0.30.216-pre3034; Jun 19 2012, 10:41:29

Features:
                       CC: gcc, gcc (Debian 4.7.1-1) 4.7.0
                 CPPFLAGS: ''
                   CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'
               build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
             Use dietlibc: yes
       Build C++ programs:
       Build C99 programs: yes
           Available APIs: compat,v11,fscompat,v13,net,v21,v22,v23,netv2
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 236/glibc
               crypto api: beecrypt
          python bindings: yes
   use library versioning: yes

Paths:
                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: /etc/init.d
       pkgstate-Directory: /var/run/vservers
          vserver-Rootdir: /var/lib/vservers

-- 
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_at_lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
Received on Fri Jun 22 11:17:51 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 22 Jun 2012 - 11:17:51 BST by hypermail 2.1.8