Quoting Goran Cetusic (goran.cetu...@gmail.com):
> Where does lxc-attach get its path for the tasks file?
> I created a rootfs and configfile with the lxc-debian script in /lxc/imunes
> and started the container with lxc-start -n imunes -f /lxc/imunes/config.
> It works but I can't execute anything because of a wrong filepath:
> 
> # lxc-attach -n imunes /bin/bash
> lxc-attach: No such file or directory - failed to open
> '/cgroup//lxc/lxc/imunes/tasks'
> 
> The tasks file is in /cgroup/lxc/imunes/tasks - there's an extra /lxc
> there, how do i remove it?
> I applied the patches to enable lxc-attach but am unable to test it.

Which source are you using?

Can you confirm that you have commit fc3c7f7f6e9d8adfc4be943160e4ef902436a25d?
This sounds like the same thing it was fixing, and AFAICS lxc-attach doesn't
do it's own cgroup parsing, so it should've fixed that.

thanks,
-serge

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to