Re: Network namespaces tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sargun Dhillon wrote:
> I'm getting an error when I try to compile the netunshare tool.
> Do you have any ideas to the error:
>
> netunshare.c:50: error: conflicting types for 'unshare'
> /usr/include/bits/sched.h:78: error: previous declaration of 'unshare' was here
>   

There is the lxc tools at:

http://sourceforge.net/projects/lxc/

In these tools there is the lxc-unshare allowing you to do the same.
    lxc-unshare -n /bin/bash

If you find some problems with it, feel free to ask :)
I will release a new lxc-0.5.1, version fixing a few bugs very soon.
> Additionally, are there any plans to merge in sysfs support into the kernel?
>   
The sysfs patchset has been rejected and the sysfs itself should be 
reworked before submitting the sysfs per namespace. This is a long work, 
Eric can probably say more on that.
In the meantime, a patch to make netns and sysfs to co-exist has been 
pushed upstream, so we can create a network namespace without sysfs 
virtualization. This modification will be available for 2.6.29. Until 
this version is released, you can use the netdev development tree 
available at:

git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6.git

Thanks.
  -- Daniel
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux