-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 11/03/2011 04:08 PM, Dong-In David Kang wrote: > > Hello, > > I'm trying to use lxc-attach. The kernel I'm running is 2.6.38.8. > I'm using lxc-0.7.5. When I run lxc-attach it tries to open > /proc/<process id>/ns/..., but I cannot find it. Did I configure > the Linux kernel in a wrong way? > > I could run an lxc instance. But I cannot use lxc-attach at the > host. > > Any help? > > Thanks, > > David.
lxc-attach requires a kernel patch to add the pid namespace to the process. So unless you're running a patched kernel, you won't be able to use lxc-attach at this time. I think the most up to date version of that patch is at: http://git.kernel.org/?p=linux/kernel/git/ebiederm/linux-namespace-control-devel.git;a=summary - -- Stéphane Graber Ubuntu developer http://www.ubuntu.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJOsv6HAAoJEMY4l01keS1neDcP/2mX6r0xd31XC7o4s3sIXQay 1kW+sVFTCsKUswupsDmXc6f+kJGwebs7LYiyd1/1g652UVjCCAfpXucfdUhoMA4o PxNdb9HL+AGiLXTbGcYk7KgDQAg7nA/BokDvVqx325VQdBDSFo1fbaALvRPjiphh UJLprGBQSb56PnDFad4dxYAGP+3FBdkADLKmUUXj/3dgD2ZplVfkFBIuud5+Ncmf UDZqYycEpTo4sFm182Lhq2EyQHBn86jBg5jcVSkM7KsZQ8TEhOjSTfT5k0y0lUoL kpQOqdxPX5ni/O7hLXbtPIdj9fzv1sVXeVbZWyw415wXijpi8oWez1b9vitLJVNp Vd7u+u/p9JWArFtwX2Aogps5ivMwJTuKthy6d2B3JMzkYopTQGj59Qq4losVGcBC xbB3Oo0hSiclMurMPiyKZUkvkpvl3d5YEaXa7ow9pLCV2QiYoqr8iDouJRjG8RtY v/4eFjzsAihen0AO7TZvycYr3f+a92c+nsjX2zDzexbybf8EsVBMfVhB5EJNAdjZ QsIH8ASRg5NJ0pg7O8DitqOPIg+TghnqQqiDxrQ/62DU4H3uU9bxyXWxDj+9Sj+u aLHKUkEriApj7EnIVfMGSV2zX9WCxo6UEOGNYdO9ZcNZu/GNa+ubGiwVwzXNwdDj LiGPJdHpVgtrX04MEsKb =fuJ+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users