All of lore.kernel.org
 help / color / mirror / Atom feed
* Net containers config and usage
@ 2009-01-12 22:35 chris-SqNQQPNds68nxqbYAscKCQ
       [not found] ` <20090112223545.GA15781-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
  0 siblings, 1 reply; 22+ messages in thread
From: chris-SqNQQPNds68nxqbYAscKCQ @ 2009-01-12 22:35 UTC (permalink / raw)
  To: containers-qjLDD68F18O7TbgM5vRIOg

All,

  I'm new to linux containers and am interested in the network containers
support, but am having some troubles getting it working & could use some help.

  I saw that the code released to 2.6.26 was incompatible with sysfs, but
that 2.6.29 should have support for both.  

  So, I built:
    linux-2.6.29-rc1
    iproute2.2.6.25 plus the patch for containers support
    lxc-0.5.2

  I can now run lxc-unshare -n /bin/tcsh
  And, as expected, that process only sees loopback.

  But I'm having trouble assigning an interface over to that container.

  I tried doing:
     # echo <pid> > /sys/class/net/eth4/new_ns_pid

  But there are no entries in sysfs called new_ns_pid.

  I also tried doing ip link set eth4 newns <pid>
  but I get a netlink error:
    RTNETLINK answers: Invalid argument 


Any tips on what I might be doing wrong, or how to get this working?  Since
I can do the lxc-unshare, it seems like I'm part way there, but can't move
network devices between namespaces.

Thanks,
Chris

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-01-16  4:38 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 22:35 Net containers config and usage chris-SqNQQPNds68nxqbYAscKCQ
     [not found] ` <20090112223545.GA15781-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-12 22:51   ` Serge E. Hallyn
     [not found]     ` <20090112225140.GA29834-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-01-13  0:54       ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]         ` <20090113005436.GA26167-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-13  8:20           ` Daniel Lezcano
     [not found]             ` <496C4EB0.30203-GANU6spQydw@public.gmane.org>
2009-01-13 14:29               ` Serge E. Hallyn
     [not found]                 ` <20090113142925.GA11767-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-01-13 19:18                   ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                     ` <20090113191837.GA29900-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-13 19:37                       ` Guenter Roeck
2009-01-13 19:49                         ` chris-SqNQQPNds68nxqbYAscKCQ
2009-01-13 19:52                       ` Daniel Lezcano
     [not found]                         ` <496CF11A.7090908-GANU6spQydw@public.gmane.org>
2009-01-13 21:47                           ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                             ` <20090113214747.GA23742-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-13 22:53                               ` Guenter Roeck
2009-01-14  8:50                                 ` Daniel Lezcano
     [not found]                                   ` <496DA755.1040001-GANU6spQydw@public.gmane.org>
2009-01-14 17:27                                     ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                                       ` <20090114172739.GA13581-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-14 17:41                                         ` Daniel Lezcano
     [not found]                                           ` <496E23DA.9080402-GANU6spQydw@public.gmane.org>
2009-01-14 19:26                                             ` Serge E. Hallyn
     [not found]                                               ` <20090114192633.GA8572-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-01-14 19:39                                                 ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                                                   ` <20090114193944.GA14129-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-14 19:53                                                     ` Daniel Lezcano
     [not found]                                                       ` <496E42D6.2080306-GANU6spQydw@public.gmane.org>
2009-01-15 21:59                                                         ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                                                           ` <20090115215900.GA30607-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-15 22:21                                                             ` Daniel Lezcano
     [not found]                                                               ` <496FB6F7.9080906-GANU6spQydw@public.gmane.org>
2009-01-15 23:20                                                                 ` Chris R. Jones
     [not found]                                                                   ` <20090115232013.GA9722-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-16  4:38                                                                     ` Eric W. Biederman
2009-01-14 22:10                                             ` Eric W. Biederman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.